Re: auto indent

2006-11-08 Thread [EMAIL PROTECTED]
M.N.Smadi wrote: > i have a script that is not indented properly. Is there > a way that i can have it auto indented. FWIW the Zeus for Windows IDE will fold Pyhon code: http://www.zeusedit.com/features.html With the code folded you can then select the folded line and using 'tab'/'shift tab'

Re: auto indent

2006-11-06 Thread John Machin
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. It depends on what you mean by "not indented properly". Indentation is part of the Python grammar. If the script compiles OK, and works as expected, but you have (say

Re: auto indent

2006-11-06 Thread John Henry
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 It depends what exactly you mean. I use Textpad and they have an "indent selected block" feature. -- http://mail.python.org/mailman/listinfo

Re: auto indent

2006-11-06 Thread Larry Bates
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

auto indent

2006-11-06 Thread M.N.Smadi
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 -- http://mail.python.org/mailman/listinfo/python-list