← 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: Answered => Open

chaitu is still having a problem:
Thank you Raiman .I dont know how to run this

How to tell windows to run .py files by using jython interpreter but not
python ??



On Mon, 9 Jan 2017 at 7:47 PM, RaiMan <question423503@xxxxxxxxxxxxxxxxxxxxx>
wrote:

> Your question #423503 on Sikuli changed:
>
> https://answers.launchpad.net/sikuli/+question/423503
>
>
>
>     Status: Open => Answered
>
>
>
> RaiMan proposed the following answer:
>
> As long as double clicking on .py files is connected to the Python
>
> interpreter: no chance.
>
>
>
> As already mentioned before
>
> - either tell your windows, to run Jython when doubleclicking a .py file
>
> - or wrap a commandfile around your script run, which in turn can then be
> double clicked
>
>
>
> Another method might be, to pack your script into a runnable .jar which in
> turn will start with the JVM if double clicked
>
> ... but this needs some minimum Java programming
>
> some information and conveniences:
>
>
> http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#prepare-and-use-your-own-jar-files-in-the-jython-environment
>
>
>
> --
>
> If this answers your question, please go to the following page to let us
>
> know that it is solved:
>
> https://answers.launchpad.net/sikuli/+question/423503/+confirm?answer_id=15
>
>
>
> If you still need help, you can reply to this email or go to the
>
> following page to enter your feedback:
>
> https://answers.launchpad.net/sikuli/+question/423503
>
>
>
> You received this question notification because you asked the question.
>
>

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