New question #678305 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678305
all([]) operator is not working but other operators like any([]) work. example:
a = 1
b = 1
if all([a == 1, b == 1]):
print ("yes")
else:
print("no")
error:
[error] script [ all any test ] stopped with error in line 3
[error] TypeError ( all(): expected 0 args; got 1 )
same script with any([]) operator works:
a = 1
b = 1
if any([a == 1, b == 1]):
print ("yes")
else:
print("no")
("yes" is printed)
this is not a problem with jython i tested both scripts here:
https://www.tutorialspoint.com/execute_jython_online.php
(you may need to click execute multiple times)
i am using SikuliX 1.1.3 for mac
--
You received this question notification because your team Sikuli Drivers
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