New question #822603 on SikuliX:
https://answers.launchpad.net/sikuli/+question/822603
I've got a weird situation with an if statement throwing errors. The statement
gets the length of a list and uses it for the range:
for i in range(len(my_list)):
This produces: TypeError ( an integer is required ).
Even when I change the statement to simply be:
for i in range(10):
I still get the error, which makes no sense. I even added a similar for loop a
few lines above this one and it worked. The function resides in a separate
module called by the main SikluiX.py.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp