← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253753]: import scripts written in active python to sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Since Sikuli works with Jython, the Java based Python interpreter
(language levels: 1.0.1: 2.5 and 1.1.0: 2.7), it is possible to import
scripts written in Python language (respective language level) as long
as these scripts do not contain/need any C-based stuff or modules, that
are not available in the Jython environment.

conclusion: it depends on the features of the ActivePython package, that
you are using in your scripts, wether your script will work in Jython
environment. You either have to try out, or evaluate, wether the used
ActivePython feature depends on C-based stuff.

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