← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295572]: [1.1.1] Jython interactive shell

 

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

Description changed to:
***** the options ---------------
--1: use the bundled Jython in sikulix.jar 
runsikulix(.cmd) -i on a commandline
(see: http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#command-line-options-special)

--2: use an external Jython
according to the steps in
https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming
(only take care for sikulixapi.jar on classpath)

or like mentioned here in comment #1
(take care for classpath and Jython sys.path)
-----------------------------

There is plenty of old documentation and questions/answers on how to do
this with the sikuli-script.jar but not with the current sikulix project
jars. I am hoping that we can get a working example of how to launch a
jython interactive interpreter with the correct classpath set (including
correct sikulix jars and libs folders) as well as showing how to import
sikulix modules and classes into the python shell and to execute a
sikuli x command from the shell "popup('hallo')" from this example would
work: https://answers.launchpad.net/sikuli/+question/230599

I think that this will help people who are scouring google links for up
to date information immensely.

Cheers,
Jesse

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