← Back to team overview

sikuli-driver team mailing list archive

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

xiaocezi posted a new comment:
 yes, i agreen with you about "works for running scripts in any Jython environment with minimum effort and clutter."
 i sure again that i had set 
CLASSPATH=C:\jython2.7.0\jython.jar;D:\Sikuli\sikulixapi.jar;
and this setting is good working in pycharm,it's strange not work in eclipse with jython.

in my computer's environment variable,BUT it still show in console:
------------------------------
Hello World!Jython
1
Traceback (most recent call last):
  File "D:\eclipse-workspace\Jythonagain\sikuli.py", line 9, in <module>
    from sikuli import *
  File "D:\eclipse-workspace\Jythonagain\sikuli.py", line 16, in <module>
    any = Screen(0)
NameError: name 'Screen' is not defined
------------------------------
thanks and sorry for have you time with this little question.

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