问题遇到的现象和发生背景
xlutils和openpyxl的冲突:zipfile.BadZipFile: File is not a zip file
问题相关代码,请勿粘贴截图
import xlrd
import xlwt
from xlutils.copy import copy
import openpyxl
nwb=xlwt.Workbook('utf-8')
nws =nwb.add_sheet('1')
nws.write(0,0,'测试')
nwb.save('1.xlsx')
zwb = openpyxl.load_workbook('1.xlsx')
zws = zwb.active
zws.cell(2,2,'ceshi')
zwb.save('1.xlsx')