← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #423503]: To run python file containing sikuli scripts by double clicking it

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
inside Eclipse you have a setup most probably with PyDev, that is
configured correctly with respect to the Jython package and the Java
classpath.

Outside Eclipse there are 2 prerequisites you have to take care for:
- have the sikulixapi.jar on Java classpath
- assure, that double clicking a .py file is run by Jython and not by Python, which cannot run SikuliX scripts

may be this helps:
https://github.com/RaiMan/SikuliX-2014/wiki/Jython-in-IDEs-like-Eclipse-or-running-it-from-commandline

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.