質問

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.

役に立ちましたか?

解決

Use code analysis tools like pylint.

pylint is the most popular, but there are others:

Hope that helps.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top