block comments
François Pinard
pinard at iro.umontreal.ca
Sat Jun 17 16:03:37 EDT 2000
[Thomas Wouters]
> Triple quotes may be what you want. Oh wait ;)
> I usually use normal comments: my editor makes it fairly easy to add '#' (I
> usually use ' ## ' to make clear that it's intended as a mass-comment-out)
> at the start of each line in a particular block.
Some people just use `if 0:' to introduce the block to comment, indented.
My preferred method is `# ' in the appropriate column.
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list