← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #643103]: How to comment multiple lines at the same time? Without using #

 

Question #643103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/643103

    Status: Open => Answered

masuo proposed the following answer:
Use three double quotes in a row.
https://www.python.org/dev/peps/pep-0008/#comments

[sample codes:]
if exists("1497125110810.png",0):
    print "true"
    """
    comment 1
    comment 2
    """
else:
    print "false"
    """
    comment 3
    comment 4
    """

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.