EXCEL与python的一些应用
1. xlrd的用法2. xlwt的用法3. xlutils的用法1.xlrd读取excel中的数值import xlrdxlsx = xlrd.open_workbook('D:/7月下旬入库表.xlsx')table = xlsx.sheet_by_index(0)# 通过sheet名查找:xlsx.sheet_by_name("7月下旬入库表")# 通过索引查找:xlsx.sheet_by_index(3)print(table.cell_value(0, 0))tabl.
原创
2021-10-13 14:26:07 ·
89 阅读 ·
0 评论