sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07045
[Question #179493]: Reading from Excel
New question #179493 on Sikuli:
https://answers.launchpad.net/sikuli/+question/179493
I am trying to take input from a excel . And By checking one of the solved questions, I included below lines of code in mys cript
dir_xlrd = "D:\sikluli\python\Lib\site-packages\xlrd"
if not dir_xlrd in sys.path: sys.path.append(dir_xlrd):
import xlrd
book = xlrd.open_workbook("D:\sikluli\myfile.xls")
While running the above I am getting " UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 35-37: truncated \xXX" error .
Note: I am running this in Windows, path given is proper path of XLRD installed directory
Please somebody help me out
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.