← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #199851]: Jython Sikuli Script windows CMD

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Of course you can ;-)

You need a standalone installation of Jython and then it is just the
same:

jython myscript.py

Look into the Jython docs for the environment variables to be used for
addings to class path and sys.path.

Another possibility (no need for an extra Jython installation):
put your myscript.py into a folder myscript.sikuli and use
java -jar sikuli-script.jar myscript.sikuli

the paths have to be adjusted to your situation.

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