sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06583
Re: [Question #177503]: Passing data through excel sheet to sikuli(in MAC OS)
Question #177503 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177503
Status: Open => Answered
RaiMan proposed the following answer:
Try the package xlrd, that is fully written in Python language and works
like a charm together with Sikuli. It can read and write excel sheets.
http://pypi.python.org/pypi/xlrd
just download the zip version and unzip to a directory of your choice.
there is no need to run the install (this is only recommended, if you
want to use it with Python directly).
in your script add:
dir_xlrd = "absolute path to the xlrd directory"
if not dir_xlrd in sys.path: sys.path.append(dir_xlrd)
import xlrd
now you can use it according to the xlrd docs.
Another possibility is to export the .xls to a .csv and use normal
Python file operations (or the csv module).
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.