Indentation question

David Lees abcdebl2nonspammy at verizon.net
Sat Aug 23 22:12:13 EDT 2003


Christos TZOTZIOY Georgiou wrote:
> On Sat, 23 Aug 2003 05:50:25 GMT, rumours say that Geoff Howland
> <ghowland at lupineNO.SPAMgames.com> might have written:
> 
> [David Lees asks how to indent and unindent a group of lines in his
> code, referring to PythonWin and EditPadLight]
> 
> 
>>A lot of editors use the method of:
>>
>>1. Select lines of text
>>2. Press TAB or SHIFT+TAB to change indentation out or in
>>respectively.
> 
> 
>>I dont know about those editors though.
> 
> 
> This works for PythonWin, I don't know for EditPadLite.  In IDLE (in
> windows at least), the keypresses are ^[ and ^] for unindenting and
> indenting, respectively; check the Edit menu for the actual shortcuts.

I just tried it in EditPad and PythonWin.  It works in both.  Thanks 
guys, this is real handy to know.

David Lees





More information about the Python-list mailing list