Automatically organize module imports
Thomas Wittek
mail at gedankenkonstrukt.de
Tue Oct 16 02:52:41 EDT 2007
Jean-Paul Calderone:
> On Mon, 15 Oct 2007 20:52:11 +0200, Thomas Wittek
> <mail at gedankenkonstrukt.de> wrote:
>> Is there a tool that can organize my import section?
>
> Pyflakes will tell you which imports aren't being used (among other
> things). I don't know if an existing tool which will automatically
> rewrite your source, though.
As Python itself complains about missing imports Pyflakes + Python
should be a good team in cleaning up my imports.
I'll give it a try. Thank you!
--
Thomas Wittek
Web: http://gedankenkonstrukt.de/
Jabber: streawkceur at jabber.i-pobox.net
GPG: 0xF534E231
More information about the Python-list
mailing list