发布网友 发布时间:2023-11-02 14:08
共2个回答
热心网友 时间:2024-12-02 17:47
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)
热心网友 时间:2024-12-02 17:47
A1&B1不含括号