python xlrd 读取表格 单元格值被覆盖
摘要:
代码实现顺序: 按行读取 按列读取 满足if条件 单元格值赋值给字典 实现代码: datas = []# 定义一个空列表 for i in range (3,nrows): sheet_data={}# 定义一个空字典 for j in range(ncols): c_type=table.cell 阅读全文
posted @ 2021-06-17 16:04 平凡之测 阅读(149) 评论(0) 推荐(0) 编辑