← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #175594]: How to import MySQLdb in Sikuli x 1.0 RC3?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
In Sikuli scripts (it is only Python language, but the interpreter used
is Jython (a python interpreter based son Java)).

In the consequence, you can only import Python modules, that are totally
written in Python language. No Python-C modules and Python modules
containing any C-based coding.

To access MySQL from a Sikuli script:
http://jythonpodcast.hostjava.net/jythonbook/en/1.0/DatabasesAndJython.html

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