Python check
Quickly finds common Python problems without running the code: unused imports, comparisons with None and True, a bare except, mutable default arguments, over-long lines, tabs, ambiguous names, assignments that are never used and a missing final newline.
Fill in the fields, run the tool and review the result. Your input is not added to a public page. Use the learning mode for calculation details.