jkraska1 at san.rr.com
Tue May 9 04:03:34 CEST 2000
Radovan Garabik wrote:
> Courageous <jkraska1 at san.rr.com> wrote:
> : Okay, it's not like I'm not looking in my documentation or anything,
> : but if this is available, it's not obvious. How do you express
> : python block comments?
> comment = 0
> if comment:
> you block comment
> goes here
Well, the """ """ works most of the time (a use for strings that I hadn't
thought of), but of course what I want is to disable arbitrary elements of
code without reformatting and the like. It seems that there isn't really
a full block comment notation, given when you CAN'T use strings.
More information about the Python-list