← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #142644]: Want to use win32com to access excel sheets - try python package xlrd

 

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

RaiMan proposed the following answer:
@Allan

-- Python 2.7
does not matter for Sikuli - it is not used. Sikuli uses Jython

-- Jython 2.5.2
Sikuli comes bundled with Jython 2.5.1, which is internally used if you run your script according to the defined approaches (in IDE or from command line).
If you want to run your scripts with Jython 2.5.2, you may do this from command line:
see: https://answers.launchpad.net/sikuli/+question/141302
only read and use the summary (reading the comments does not help more and might be confusing only)

... but normally there is no need to use Jython 2.5.2

-- xlrd
there is no need to run the install (this is for Python only).

just download the zip version and unzip to a directory of your choice.
in your script add:
dir_xlrd = "absolute path to the directory xlrd-0.7.1"
if not dir_xlrd in sys.path: sys.path.append(dir_xlrd)
import xlrd

now you can use it according to the xlrd docs.

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