Code reformater?

Ben Finney bignose+hates-spam at benfinney.id.au
Sat Jan 20 02:10:04 EST 2007


Vincent Delporte <justask at acme.com> writes:

> 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?

Indentation is necessary for the syntax in Python. If that information
is lost, it can't be reliably recreated.

-- 
 \       "People come up to me and say, 'Emo, do people really come up |
  `\                                         to you?'"  -- Emo Philips |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list