Comment 3 for bug 1687013

Revision history for this message
Q17 (squery) wrote :

Hi RaiMan,

I have install xlrd but when I run this code:

import xlrd

book = xlrd.open_workbook('Excel.sikuli/myfile.xls')
worksheet = workbook.sheet_by_name('Sheet 1')
sheet.cell(0,0).value

there is an error says:[error] NameError ( name 'workbook' is not defined )

I am using Sikuli 1.1.1, Python27 and Jython 2.7.

Could you please let me know how to resolve this?

Thanks