help: code formatter?
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Mon Jan 8 10:19:19 EST 2007
siggi wrote:
> 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?
Why don't you just write one? :)
Seriously: Try.
BTW: Guessing to what amount of space TABs must be converted in
mixed source can be non-trivial.
Regards,
Björn
--
BOFH excuse #289:
Interference between the keyboard and the chair.
More information about the Python-list
mailing list