Unable to open excel worksheet with open_workbook command in Sikuli
I have performed the below steps before I could actually used the open_workbook:
1. downloaded package xlrd and unzipped it in the desired location
2. imported it by using:
dir_xlrd = "C:\\Users\
if not dir_xlrd in sys.path: sys.path.
import xlrd
book = xlrd.open_
My problem is, even though I'm giving the exact location where I have saved the excel sheet, it still throws me error:
[error] script [ WorkBench ] stopped with error in line 7
[error] IOError ( (2, 'No such file or directory', 'C:\\UserNameTE
[error] --- Traceback --- error source first line: module ( function ) statement 394: __init__ ( open_workbook ) IOError: (2, 'No such file or directory', 'C:\\UserNameTE
[error] --- Traceback --- end --------------
I have even tried:
book = xlrd.open_
it gave me the same error too.
Please help me with this.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ruqsar Jahan for more information if necessary.