help: code formatter?

Thomas Heller theller at ctypes.org
Mon Jan 8 10:37:43 EST 2007


siggi schrieb:
> Hi all,
> 
> as a newbie I have problems with formatting code of downloaded programs,
> because IDLE's reformatting capabilities are limited . Incorrect
> indentation, mixing of TAB with BLANKs or eol are often very nasty to
> correct.
> Is there a simple code formatter that first removes all indentations and
> then refomats correctly?
> 
> Please help!


Tools\scripts\reindent.py in your Python distribution.

Thomas



More information about the Python-list mailing list