fromxlrdimportopen_workbookwb=open_workbook(r'd:/222.xlsx')tb=wb.sheets()[0]data=[]forrinrange(tb.nrows):val=[]forcinrange(tb.ncols):val.append(tb.cell_value(r,c))data.append(tuple(val))print(data)