← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #243053]: Using external python module using json

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
To clarify the situation do the following on command line:

java -cp absolute-path-to-sikuli-ide.jar(or -script.jar)
org.python.util.jython

this should open an interactive Jython session, that does not know
anything about SikuliX yet.

now do your APIC stuff and see what happens.

to activate SikuliX at any time later:
import org.sikuli.basics.SikuliXforJython # appends sikuli-xxx.jar/Lib to sys.path
from sikuli import *

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