← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #208252]: importing .sikuli files in eclipse

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
If you use the Jython interpreter to run your stuff (either from command
line or from within Eclipse) EVERY .py file, that uses Sikuli features,
has to have this import statement.

BTW: this is standard with Python/Jython for any stuff, that is not part
of the language, but implemented as modules/classes/methods.

That you do not need it in the main script, when using Sikuli to run
your script is only a convenience feature (the import is handled
internally).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.