sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10630
Re: [Question #196872]: Script Sikuli in Eclipse - pythonpath problem
Question #196872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196872
Status: Open => Answered
RaiMan proposed the following answer:
Only to be clear:
A module2.sikuli cannot be run in Eclipse PyDev. It is the contained module2.py. that is edited and run. And in order to use any Sikuli features, it needs an "from sikuli import *" at the beginning.
And you are left alone with the image path, if your module2.sikuli contains images.
It works for me in Eclipse Indigo PyDev:
- a workspace with 2 .sikuli
test.sikuli
sub.sikuli
no src folder, workspace folder in sys.path per project settings
# test.sikuli
from sikuli import *
import sub
# sub.sikuli
from sikuli import *
print "hello from sub"
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.