On Thu, Mar 15, 2007 at 01:52:51AM +0100, Christophe Combelles wrote:
> As I'm experimenting with various components, I'm adding more and more 
> imports in the beginning of the python files, but at the end, most of them 
> are unused.
> Is there a tool or a method to automatically clean or detect unused imports 
> ?

Well, people have been using tools like that to clean up Zope 3 itself
in the past.  Googling for 'python import checker' finds at least two
tools that should do the job: PyChecker, python-import-check.

Zope3-users mailing list

Reply via email to