发布网友 发布时间:2022-03-03 13:04
共2个回答
热心网友 时间:2022-03-03 14:33
from xlrd import open_workbook
wb=open_workbook(r'd:/222.xlsx')
tb=wb.sheets()[0]
data=[]
for r in range(tb.nrows):
val=[]
for c in range(tb.ncols):
val.append(tb.cell_value(r,c))
data.append(tuple(val))
print(data)
热心网友 时间:2022-03-03 15:51
A1&B1不含括号