sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27099
[Question #251734]: Possibility of using python packages with Sikuli script?
New question #251734 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251734
In order to utilize full automation functionalities, I am attempting to use two automation libraries in unison: Sikuli(Jython) and pyAtom (Python) https://github.com/pyatom/pyatom http://pyatom.com/wiki/Main_Page. Because Jython runs on Java, the imported pyAtom python package (atomac) is treated as a java package which breaks much of the functionality, for example:
import atomac
app = atomac.getAppRefByBundleId('com.apple.Automator')
output:
AttributeError: 'javapackage' object has no attribute 'getAppRefByBundleId'
Is there any workaround to properly treat python packages. If not would subprocessing be an efficient alternative.
Please let me know if any more information is necessary
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.