← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #244286]: How to end the for loop

 

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

    Status: Open => Answered

obiwan-92 proposed the following answer:
Hello.

In Sikuli, you are in Python.
To begin a loop, add a tabulation.
To end it, no tab.

for example :

for item in list:
    print item # I am in the loop
    print item # I am still in the loop
print list # I'm not longer in the list

Regards.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.