Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将现有的 xls 文件表复制/编辑到带有标记的新文件中。我试过的:
import xlrd from xlutils.copy import copy workbook = xlrd.open_workbook('template1.xls') new_wb = copy(workbook) new_wb.save("test.xls")
但标记不保存。现有文件是例如:
“复制”后的结果是:
请帮帮我。
最好的答案在评论中。我已达到答案限制,因此需要设置最佳答案。