Commenting out multiple lines ?
Courageous
jkraska1 at san.rr.com
Wed May 16 01:52:57 EDT 2001
On Tue, 15 May 2001 22:46:18 +0200, "Tom" <tom at peresys.co.za> wrote:
>I miss C style comments for multiple lines like /* */
>
>How can that be done without doing
>
>#line 1
>#line 2
>#line 3
>#line 4
>
>in Python ?
If the triple quote comment technique doesn't work for you,
you might look up the boxes program on the web:
http://www6.informatik.uni-erlangen.de/~tsjensen/software/boxes/
I use this in conjunction with vim; you select an area, hit a key
sequence, and the entire area either comments or uncomments
python-style.
C//
More information about the Python-list
mailing list