Question #254687 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254687

RaiMan proposed the following answer:
sometimes it is really frustrating answering questions here, because I
get the feeling, that people do not read carefully enough what I write -
sorry, but from time to time I need to say that.

in comment #3:
-- in the main script
from sikuli import *
is not needed (done internally anyways)

but it is mandatory in imported scripts (putty dictionary.sikuli)

... and in the error message:
 - HOW TO FIX? Try adding "from sikuli import *" in the module.

... now try to get the solution ;-)

--- you say:
I am going the route of a image dictionary because later on I am going to have 
various scripts referencing the dictionary, so I figured it would be easier to 
have one location for the images and the rest of the scripts referencing it.

... not the dictionary is what implements the DRY pattern (don't repeat
yourself), but it is the image module, that is then imported in various
other modules to get access to the images.

the easiest implementation: see comment #1

You received this question notification because you are a member of
Sikuli Drivers, which 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

Reply via email to