Question #677269 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677269
RaiMan posted a new comment:
Python generally is not strongly typed, hence type is evaluated from context on
assignment.
... and variables can change their type at any time.
BTW: ("foo",) is not a list but a tuple and immutable.
The problem: the brackets ( ) syntactically are expression delimiters
and the tuple itself is "foo",
a list (mutable) is defined as:
aList = ["foo"]
or
aList = []
aList.append["foo"]
please consult the Python docs or a basic tutorial if you plan to do more
complex things.
Be aware: the interpreter is Jython 2.7 (since SikuliX is Java based)
--
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