sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17395
Re: [Question #226340]: perform actions for only some values of an increasing variables
Question #226340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226340
Status: Open => Answered
Roman Podolyan proposed the following answer:
What's the problem, really?
v=0
while v < 12 :
if (v <> 7) and (v <> 8):
print ("example action " + str(v))
v=v+1
And you can put in inside "if" any condition you want to exclude
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.