简体   繁体   English

在不使用 openpyxl 的情况下使用 Python 将数据附加到 Excel 文件

[英]Appending Data to an Excel file using Python without using openpyxl

I am going to create a Excel application and I want to append the data to that Excel file without changing it's style openpyxl is giving a normal Excel so I want a different module to load with the previous styles and to save it I am going to create a Excel application and I want to append the data to that Excel file without changing it's style openpyxl is giving a normal Excel so I want a different module to load with the previous styles and to save it

Also if some one know some example please share it另外,如果有人知道一些例子,请分享

use xlsx writer this will open file without change in formatting you can save it back.使用 xlsx writer 这将打开文件而不更改格式,您可以将其保存回来。 as i have used it to save multiple file from a formatted template excel因为我用它来保存格式化模板 excel 中的多个文件

pip install xlsxwriter

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM