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. -- http://mail.python.org/mailman/listinfo/python-list