← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #234028]: [1.0.1] Importing java only includes __name__ and io

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The usage of Sikuli with Jython standalone is easier now with sikuli-
java.jar (setup option 4) from version 1.0.1.

This needs only to be on class path and does not contain the Jython
interpreter (like sikuli-script.jar).

when you say in your main script:
import org.sikuli.basics.SikuliXforJython
from sikuli import *

it even sets the sys.path correctly on the fly at runtime.

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