goto statement

pythonUser_07 zsolt-googleP6463 at mailblocks.com
Thu Apr 21 12:24:29 EDT 2005


Hi,

Have you tried the triple quote comment technique?

I am assuming you want to skip some code for the time being.

Here is an example

print "hello world"
''' COMMENT OUT FOR NOW
someFunction()
someOtherFunction()
'''
print "goodbye world"

This means that you have only two locations to remove the blocked out
code.  This is identical to having to remove the goto statement and the
marker.

Hope that helps.




More information about the Python-list mailing list