Question #671168 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671168
Status: Open => Answered
RaiMan proposed the following answer:
ok, this you have:
# images.sikuli # containing
img1 = "image1.png"
…. more of them
# main.sikuli # containing
from images.sikuli import *
find(img1)
if both .sikuli are in the same folder, then this should work.
BTW: with 1.1.3+ the reload() after an import() is no longer needed.
… and the main script does not need
from sikuli import *
to check your situation, add the following to the function setup():
for entry in sys.path: print entry # should show all your imports
--
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