Read the tutorial on http://www.python-excel.org.
Specifically, look for xlutils.copy
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
You want to copy the file.
Use the xlutils.copy example:
from xlrd import open_workbook
from xlutils.copy import copy
rb = open_workbook(...,formatting_info=True)
rs = rb.sheet_by_index(0);
print rs.cell(0,0).value;
wb = copy(rb)
wb.get_sheet(0).write(0,0,'abc')
wb.save(...)