Indentation

Adam Tauno Williams awilliam at whitemice.org
Wed May 26 16:17:56 EDT 2010


On Wed, 2010-05-26 at 16:13 -0400, William Miner wrote:
> I have a script which I would now put inside a loop. Is there any way
> to “automatically” indent the old script so it can be put inside the
> new loop. Doing it by hand seems so inelegant and time consuming.

Open script in MonoDevelop
Highlight text, 
right-click, 
click "Indent Selection" in context menu.

Or any decent IDE should provide the same kind of thing.

<http://monodevelop.com/>

-- 
Adam Tauno Williams <awilliam at whitemice.org> LPIC-1, Novell CLA
<http://www.whitemiceconsulting.com>
OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba




More information about the Python-list mailing list