import scripts written in active python to sikuli

Asked by Anunaya

I want to import scripts written in active python to sikuli. Can you please let me know if it is possible.
If possible how can I do that

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

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.

Can you help with this problem?

Provide an answer of your own, or ask Anunaya for more information if necessary.

To post a message you must log in.