sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46526
Re: [Question #666773]: How to get on the road as a newcomer to Java programming
Question #666773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/666773
RaiMan posted a new comment:
the exists example should break when number is found:
found = False
foundNumber = -1
for number in numbers:
foundNumber += 1
if not reg.exists(number, 0):
continue
else:
found = True
break
if found:
print "found number:", foundNumber
else:
print "no success"
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.