Re: how to comment out a block of code

2005-01-27 Thread Jeff Shannon
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

Re: how to comment out a block of code

2005-01-27 Thread Duncan Booth
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

Re: how to comment out a block of code

2005-01-26 Thread Christian von Essen
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

how to comment out a block of code

2005-01-26 Thread Xah Lee
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. Xah [EMAIL PROTECTED] http://xahlee.org/PageTwo_dir/more.html -- http://mail.python.org/mailman/listinfo/python-list