Code reformater?

Siggi smusnmrNOSPAM at
Sat Jan 20 18:37:49 CET 2007

"Vincent Delporte" wrote:
> Hello
> When I copy/paste Python code from the web, every so often,
> the TABs are wrong, which means that the code won't work and I have to
> manually reformat the code.
> Is there a code reformater that can parse the code to make it right?
> Thanks.

Maybe my thread "help: code formatter, 08/01/2007 helps a little? Here are
some of the answers:

Why don't you just write one? :)
Seriously: Try.
Tools\scripts\ in your Python distribution.
Why, yes, there is:
tabnanny ?


More information about the Python-list mailing list