I remember when I was developing in C++ or Java, the compiler usually complains for unused methods, functions or imports. In my Django project, I have a bunch of Python fil
PyFlakes (similar to Lint) will give you this information.
pyflakes python_archive.py Example output: python_archive.py:1: 'python_archive2.SomeClass' imported but unused