← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #181616]: Reading from EXCEL in MAC Operating System

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
@ Mikeldi

I guess this is already done.

@ Santosh

It seems that the path to xlrd is missing in sys.path:

xlrdPath = "/Users/suresh/Desktop/Sikuli Scripts/Lib/xlrd"
if not xlrdPath in sys.path: sys.path.append(xlrdPath)
import xlrd
book=xlrd.open_workbook("/Users/suresh/Desktop/Sikuli Scripts/book1.xls")

BTW: I recommend, to not use blanks in the folder names (like
...Desktop/Sikuli Scripts/...). This might lead to problems in some
special situations.

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