← Back to team overview

sikuli-driver team mailing list archive

[Question #232294]: Unicode error with excel

 

New question #232294 on Sikuli:
https://answers.launchpad.net/sikuli/+question/232294

I am using sikuli version, SikuliX -1.0rc3(r905) , when i try to open an excel file, get the below errors:



[error] Stopped
[error] Error message: UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 29-31: truncated \xXX

Script used was:-

dir_xlrd = "C:\Program Files\Sikuli X\lib\xlrd"
if not dir_xlrd in sys.path: sys.path.append(dir_xlrd)
import xlrd

book = xlrd.open_workbook(r"D:\vinod\abc.xls")

Please advise

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