why no block comments in Python?

msoulier msoulier at gmail.com
Thu Mar 9 16:21:00 CET 2006

> (and if you don't, you can quickly comment out regions by putting them
> inside a triple-quoted string.)

Although that will use up memory, as opposed to a comment.

Still, it's simple enough in an editor like Vim or Emacs to highlight a
region, and define a macro to add/remove #s. Any Python IDE should
certainly have this capability.


More information about the Python-list mailing list