Here is my code:
def read_write_Xecel(self):
rb = open_workbook('D:\projects\Myself\HelloPython\src
\simple.xls',on_demand=True,encoding_override="cp1252")
i = rb.sheet_by_index(0).nrows + 2
wb = copy(rb)
sheet1 = wb.get_sheet(0)
for x in self.transpose:
j = 1
row = sheet1.row(i)
for e in x:
row.write(j,e)
j = j + 1
i = i + 1;
wb.save('D:\projects\Myself\HelloPython\src\simple.xls')
I run the above program in Eclipse with Python v2.7.1. I think the
problem is "on_demand=True" in open_workbook(...). When I removed that
option, the problem is gone. So, I cannot use the less memory feature?
Thanks.
PC