How to append to an existing excel sheet with XLWT in Python
问题 I have created an excel sheet using XLWT plugin using Python. Now, I need to re-open the excel sheet and append new sheets / columns to the existing excel sheet. Is it possible by Python to do this? 回答1: After investigation today, (2014-2-18) I cannot see a way to read in a XLS file using xlwt . You can only write from fresh. I think it is better to use openpyxl . Here is a simple example: from openpyxl import Workbook, load_workbook wb = Workbook() ws = wb.create_sheet() ws.title = 'Pi' ws