Xah Lee wrote:
is there a syntax to comment out a block of code? i.e. like html's
or perhaps put a marker so that all lines from there on are ignored?
thanks.
Of course -- this feature is so important that all computer
manufacturers worldwide have made a special button on the computer
case just
Xah Lee wrote:
>
> is there a syntax to comment out a block of code? i.e. like html's
> or perhaps put a marker so that all lines from there on are ignored?
> thanks.
>
The simplest way is to select the block of code in your editor and use the
'comment-region' command. If this doesn't work, u
A bit of a hack of course, but you can enclose the code that should be
commented out with ''' and ''' or """ and """ (not sure about the name of
this tripple-quoting)
OTOH, some (or even most if not all) Python editors support blockquoting
by pushing a button or using shortcuts. SPE and IDLE for ex