sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34806
Re: [Question #271857]: Sikuli with Lettuce
Question #271857 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271857
Status: Open => Answered
RaiMan proposed the following answer:
to activate the SikuliX features in any Jython script, that is not run by the SikuliX-IDE, you have to add
from sikuli import *
near the top of the script (before any other imports).
If you run a script from IDE neither
# -*- coding: utf-8 -*-
nor
from sikuli import *
is needed in the main script, but only in scripts, that are imported (if
relevant).
... and the feature to add the sites.txt contained paths to sys.path is
a SikuliX feature.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.