Multi-Line Comment

David Bolen db3l at
Mon Aug 11 23:54:50 CEST 2003

Doug Tolton <dtolton at> writes:

> How do you comment the block of text with Emacs?  That is what I'm
> using for my code editor.

In Python mode, use C-c # to comment the selected region and C-u C-c #
to uncomment a region.  The commenting is done with "##" at the front
of every line in the region, so it normally stands out from actual
comments due to the #-doubling.

-- David

More information about the Python-list mailing list