auto indent

Larry Bates larry.bates at websafe.com
Mon Nov 6 17:03:31 EST 2006


M.N.Smadi wrote:
> Hi there;
> 
> i have a script that is not indented properly. Is there a way that i can
> have it auto indented.
> 
> thanks
> moe smadi

Not really.  Indention in python conveys blocks so there is no way
anything automatic could determine where blocks end.  Its just like
asking if you could have something automatically insert parenthesis
everywhere they are needed.

-Larry




More information about the Python-list mailing list