sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18862
Re: [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory
Question #231118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/231118
Status: Open => Answered
RaiMan proposed the following answer:
Supposing this:
some_script.sikuli # importing oxpToolKit
opxToolKit.sikuli # either this or
opxToolKit.py
in the same folder.
then
import oxpToolKit
should work without any extra sys.path handling, since Sikuli's import
automagically finds importable stuff in the same folder that contains
the importing script.sikuli
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.