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.
我只是想复制整个工作簿。稍后要添加一些信息,我可以毫不费力地找到如何将信息添加到单个单元格等...但是我还没有找到复制整个工作表的方法。也许我过于复杂了,但任何输入都是值得赞赏的。谢谢!
wb = xlwt.Workbook(encoding='utf-8') ws = wb.add_sheet('Sheet1') ws.write() you can add data to your worksheet like this