pythonUser_07 wrote:
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.


how do use this here:

print "hello world"
...
...
...
sql = '''
some long query
'''
...
...
...
sql = """
another query
"""
...
...
...
print "goodbye world"





--
Best regards,
Maxim Kasimov
mailto: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to