← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #194570]: Can I run sikuli script from Java using Java Run api

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
You cannot run a Sikuli script with Python. It is only Python language,
but the interpreter used is Jython (Python implementation language level
2.5 in Java)

To run Sikuli scripts you either use the IDE or one of the command line
options as mentioned in the docs.

You can run Sikuli scripts with a standalone Jython installed or with
the Jython environments available with Eclipse/Netbeans/... IDE Python
plugins. But this is much more complicated than just using the stuff
Sikuli provides.

On the other hand: In a Sikuli script you can import and use any Java
classes, that are available on the class path.

So if you are new to Python, but have experience with Java, you might
consider to use the Sikuli features on the Java level.

All this can be found in the docs ;-)

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