sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03685
Re: [Question #162999]: Using dictionaries
Question #162999 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/162999
Status: Open => Answered
RaiMan proposed the following answer:
No, an empty dictionary is defined with {} or dict().
The elements are set/retrieved using
aDict[someKey] = someValue
x = aDict[someKey]
Your error usually comes up, if you have written aDict() instead of
aDict[].
The Error is in the line mentioned with the error or just scan your code
for aDict().
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.