[Tutor] Comments

alan.gauld@bt.com alan.gauld@bt.com
Mon Jan 6 12:21:02 2003


> How is it you phrase comments?  When I'd like to take out a block and
> experiment with the rest, what's the method?
> 
>  {
> 
>  code
>  ...
> 
>  won't run
> 
>  }
> 
>  print "will run"

In IDLE Select the region and choose the Edit|Comment region menu command.
Or if you prefer wrap it in an "if 0:" clause - indenting the section by 
1 char or whatever...

Alan g.