book = xlrd.open_workbook('Excel.sikuli/myfile.xls') worksheet = workbook.sheet_by_name('Sheet 1')
since you named your xls-object book = xlrd.open_workbook('Excel.sikuli/myfile.xls')
you have to use worksheet = book.sheet_by_name('Sheet 1')
Sorry, but this is either basic Python knowledge or can be solved by consulting the docs of an offending module.
book = xlrd.open_ workbook( 'Excel. sikuli/ myfile. xls') sheet_by_ name('Sheet 1')
worksheet = workbook.
since you named your xls-object workbook( 'Excel. sikuli/ myfile. xls')
book = xlrd.open_
you have to use by_name( 'Sheet 1')
worksheet = book.sheet_
Sorry, but this is either basic Python knowledge or can be solved by consulting the docs of an offending module.