How to write in to already opened excel file by using openpyxl

someshg2 at gmail.com someshg2 at gmail.com
Fri Sep 27 08:48:41 EDT 2013


Hi..there,

I have opened a excel file by using the following code
from openpyxl import load_workbook

 wb = load_workbook('path of the file')
    DriverTableSheet = wb.get_sheet_by_name(name = 'name of the sheet')


after that i have to append some values in that excel file..

for that i used the following code

DriverTableSheet.cell(row=1, column=2).value="value"


but it is not responsive..can u guys please guide how to write / append a data in that excel file and save that excel file




More information about the Python-list mailing list