← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #192054]: can sikuli use python 2.7.2? --- no

 

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

RaiMan proposed the following answer:
@Parn Yin
I subscribed you to the question, so you should be notified. (This is always a good idea if you are interested in the ongoing thread of a question).

--- 1. install for Python stuff
Python modules written in plain Python can normally be used with Sikuli. The included install procedure is only relevant for real Python installations. For use with Sikuli you have to find out the folder containing the Python module code (usually it has an __init__.py) and take care, that this is found in the sys.path at Sikuli runtime.
When using a standalone Jython, you might copy the folder to ..Jython.../Lib/site-packages, because this is automatically in sys.path when using a standalone Jython (or the Jython in IDE's like Eclipse, ...)

--- 2. Python language level 2.6+ with Jython
If a module tells you, it needs 2.6 and you want to use it with Sikuli/Jython, you might first try it out and look wether the needed features work.
In this case you should check, wether a previous version of xlrd already supports what you need.

And a final fallback always is the use of a csv version of the xlsx.

--- 3. Jython 2.7 beta
I do not have any experiences yet.

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