摘要:
def new(): from openpyxl import Workbook wb = Workbook() sh1 = wb.active sh2 = wb.create_sheet('数据') sh3 = wb.create_sheet('人员',0) wb.save('C:/Users/a 阅读全文
摘要:
测试数据: 读取该表格内容: 代码如下: def open(): from openpyxl import load_workbook wb = load_workbook('C:/Users/admin/Desktop/baihuo.xlsx') ###获取工作簿 sh1 = wb.active 阅读全文