title: How can I check for unused import in many Python files?
body: <p>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 files which have gone through a number of iterations.  Some of those files have a few lines of import statement at the top of the page and some of those imports are not used anymore.  Is there a way to locate those unused imports besides eyeballing each one of them in each file?</p>
  
  <p>All my imports are explicit, I don't usually write <code>from blah import *</code></p>