Commenting out multiple lines ?
Doug Stanfield
DOUGS at oceanic.com
Wed May 16 11:57:10 EDT 2001
[Courageous ]
> 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.
Is that an easier key sequence than:
:s/^/###/g
and the reverse:
:s/###//g
-Doug-
More information about the Python-list
mailing list