简体   繁体   中英

Python copying an entire workbook with XLRD, XLWT and XLUTILS

I simply want to copy an entire workbook. There is information to be added later which I am having no trouble finding how to add the information to single cells etc... Yet I have not found a way to copy an entire sheet. Perhaps I'm overcomplicating this but any input is appreciated. Thanks!

wb = xlwt.Workbook(encoding='utf-8')
ws = wb.add_sheet('Sheet1')
ws.write() you can add data to your worksheet like this

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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