sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02680
Re: [Question #141302]: Sikuli X: Want to use Jython 2.5.2 with sikuli-script.jar
Question #141302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141302
coldtest posted a new comment:
I solved the problem ,but I don't know wether it is a good way
I unzip the sikuli-script.jar to C:\sikuli-script and modify the script as :
import sys
sys.path.append("C:\\sikuli-script\\Lib")
print sys.path
from sikuli.Sikuli import *
capture()
It is excuted successly :
D:\script\jy>jython test.py
['D:\\script\\jy', 'D:\\jython2.5.2\\Lib', 'D:\\jython2.5.2\\sikuli-script.jar', '__classpath__', '__pyclasspath__/',
'D:\\jython2.5.2\\Lib\\site-packages', 'C:\\sikuli-script\\Lib']
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.