I often use

if 0:
    bunch of lines of code

That way, it's very easy to reenable the code, or to add an else, etc.
I can even put things like 'if 0 and USE_FOO_FEATURE' to document what
is being commented out. It's much more flexible than commenting out.

--
Want to play tabletop RPGs over the internet?
    Check out Koboldsoft RPZen:    http://www.koboldsoft.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to