How to import in-built Python modules in Sikuli?

Asked by Ankit

Can anybody tell me how can I import in-built Python modules like 'Sendkeys' in Silkuli and use them?

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 uses Jython as Python interpreter, you can only import, what comes with Jython (most of the standard modules) or any Python module, that is completely written in Python language (not using any C-based stuff).

BTW: SendKeys is not a Python 'in-built' module. It only runs on Windows and is available here: http://pypi.python.org/pypi/SendKeys/0.3
Since it contains some C-based stuff, you cannot use it with Sikuli.

Can you help with this problem?

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

To post a message you must log in.