← 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:
Since I do not have the time, to guide you further down the road:

- for solutions about "connect .py to Jython" consult the net elsewhere.

- you should check the solution "wrap scriptrun in command files"

... and another possibility:
Since double clicking a .py file leads to processing with C-Python which in turn crashes, you might add a feature to your scripts, that detects this situation and runs the jython scriptrun as a subprocess inside C-Python. 
... or simply make a C-Python script for every SikuliX script, that delegates the SikuliX scriptrun to a subprocess and you have your double-clickable-.py

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