← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678478]: How to import cx_Oracle library into python SikuliX script --- not possible (C-based)

 

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

RaiMan proposed the following answer:
cx_Oracle only works with Python (C-based Python), but from there you
cannot use SikuliX directly, but only with some Python-Java wrapping
(like pyjnius).

So if you need direct access to your DB during scriptrun, then it will
be a stony way - may be impossible.

If acceptable: write what you need from your DB to a CSV-file and use
that in your script.

Surely there might be other workarounds, like running Python scripts
from SikuliX using subprocess, that return some stuff to be used in the
script.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.