【发布时间】:2019-07-08 19:51:27
【问题描述】:
我一直在尝试使用 openpyxl 模块读取合并单元格的值。但是,它给出了以下错误:
if ws.cell(row=i, column=j).value == q.get(): #and ws.cell(row=i+1, column=j).value == 'tot.':
AttributeError: 'MergedCell' 对象没有属性 'value'
你有什么建议?提前致谢!
【问题讨论】:
标签: python excel python-3.x openpyxl