python – xlsxwriter可以使用另一个文件作为模板吗?

xlsxwriter对象可以使用另一个excel文件的模板吗?

我试图使用xlsr但它不能使用模板.

我正在使用xlsxwriter,因为我写了更多的65335行.

谢谢.

最佳答案 来自XlsxWriter
FAQ

Q. Can XlsxWriter use an existing Excel file as a template?

No.

XlsxWriter is designed only as a file writer. It cannot read or modify an existing Excel file.

OpenPyXL可以读取和重写文件并处理Excel 2007格式.

点赞