sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03745
Re: [Question #163440]: i want to repeat my loop
Question #163440 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/163440
Status: Open => Answered
Willie proposed the following answer:
for x in range(r):
[your code here]
^ will loop r+1 times, setting the variable x to an incremental number
each time (x begins at 0, ends being r) and then executing the indented
code. You need not use the variable x in your code, but you still need
it at least for the loop.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.