sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44951
Re: [Question #660917]: how to run a sikuli script in jython.exe or jython IDE
Question #660917 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660917
Status: Answered => Solved
xiaocezi confirmed that the question is solved:
now i had achieved to run sikuli scripts in pycharm with jython interpreter.
and achieved to run sikuli scripts in eclipse with jython interpreter, or java application.
in pycharm with jython interpreter is easy,can like this:
------------------------------------
import sys
sys.path.append("C:\\Users\\xie\\AppData\\Roaming\\Sikulix\\Lib")
from sikuli import *
from sikuli import Screen
print "Hello World!Jython"
x=1
print x
any = Screen(0)
any.click("1m.png")
-----------------------------------
the"C:\\Users\\xie\\AppData\\Roaming\\Sikulix\\Lib" directory,is a auto create file directory when i setup sikuli.
ok, my english is not so good,if has any question about it,can email
me:xiejiaohu@xxxxxxx
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.