← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179493]: Reading from Excel

 

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

    Status: Answered => Open

Venkata Sandeepu Lade is still having a problem:
Hi Raiman,
Apols for the repeated questions..But I dont have any option :)
I have tried the second scenario as well

1. Downloaded the zip file to D:\sikluli
2. Extracted to D:\sikluli\xlrd-0.7.1\xlrd-0.7.1\
3. Copied the xlrd folder to C:\Program Files\Sikuli X\Lib
4. Placed excel in D:\Docs folder
5.Ran the below script

import xlrd
book = xlrd.open_workbook("D:\\Docs\\myfile.xls")

Result:
Got below error message

[error] Error message: Traceback (most recent call last):
 File "C:\DOCUME~1\VENKAT~1.LAD\LOCALS~1\Temp\sikuli-tmp2385311251366416815.py", line 4, in 
 book = xlrd.open_workbook("D:\\Docs\\myfile.xls")
 File "C:\Program Files\Sikuli X\Lib\xlrd\__init__.py", line 420, in open_workbook
 bk.biff2_8_load(
 File "C:\Program Files\Sikuli X\Lib\xlrd\__init__.py", line 878, in biff2_8_load
 f = open(filename, open_mode)
IOError: [Errno 2] No such file or directory: 'D:\\Docs\\myfile.xls'

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