How to comment a block of codes in Python?

Daniel Klein danielk at aracnet.com
Thu Nov 14 00:51:12 EST 2002


On Wed, 13 Nov 2002 20:50:39 -0800 (PST), Mindy <csshi99 at yahoo.com> wrote:

>Hey, this might be easy but I don't figure out myself.
>How to comment a block of codes(including a bunch of
>lines with indentation)? Now, I just use "#" to
>comment every line and it's so clumsy when I want to
>test part of the codes.

Yes, it's easy :-)

See...
http://epydoc.sourceforge.net/docstrings.html

Dan.



More information about the Python-list mailing list