[英]How to add data using python from one sheet to an existing sheet in another workbook without overwriting other sheet's data?
I have an two excel files 'file1' and 'file2'. 我有两个excel文件'file1'和'file2'。 file1 has data filled in 3 sheets. file1的数据填写为3张。 I want to copy data from file2 and append it into sheet3 in file1 and save the same file. 我想从file2复制数据并将其附加到file1中的sheet3并保存相同的文件。 Can anyone help me do this using python? 任何人都可以帮我用python做这个吗?
xlwt is used to write into existing files. xlwt用于写入现有文件。
Here is the similar thread to your question. 这是与您的问题类似的主题。 . 。 . 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.