← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235751]: access serial port from sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
reading the installation instructions for pymcu, it seems that it needs
C-Python 2.7.3

Sikuli runs with Jython, which can only import modules, that are
completely written in Python language or specially adapted for the use
with Jython. Moreover the current Jython is on language level 2.5

To use the Java communication API, you should step down to the Java
level, though it is principally possible, to use it from Jython scripts
too (since everything written in Java and available on class path can be
used in Jython scripts).

In any case, I would recommend to use a IDE like Eclipse or NetBeans (either for Java or Python development), to have all options of a full featured IDE.
When using version 1.0.1:
https://github.com/RaiMan/SikuliX-API/wiki/Usage-in-Java-programming
This approach can be combined with the Sikuli IDE for the image management .

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