3

How can I check a python program for errors without running it? I want to get the error messages that say what line my error is on, but I do not want to execute the program.

0

1 Answer 1

7

Use code analysis tools like pylint.

pylint is the most popular, but there are others:

Hope that helps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.