Question #265063 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265063
RaiMan proposed the following answer:
--- Just wondering : Why someone can't change the counter?
this is simply by design of Python.
If you want to change the "counter" you have to use other constructs:
max = 5
run = 0
while true:
# do something
if run == max: break
if something: max += 2
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp