Re: [Tutor] "Error :Attempt to overwrite cell" while using xlwt to create excel sheets

2010-02-11 Thread nikunj badjatya
Hi, Many thanks to all.. I tried cell_overwrite=True and its working fine..!! On Wed, Feb 10, 2010 at 6:13 PM, Kent Johnson wrote: > On Wed, Feb 10, 2010 at 6:47 AM, nikunj badjatya > wrote: > > > I commented out the "raise Exception" statement in Row.py library > > module. > > Here's the (lin

Re: [Tutor] "Error :Attempt to overwrite cell" while using xlwt to create excel sheets

2010-02-10 Thread Kent Johnson
On Wed, Feb 10, 2010 at 6:47 AM, nikunj badjatya wrote: > I commented out the "raise Exception" statement in Row.py library > module. > Here's the (line no. 150 ) of Row.py which i have edited: > >   def insert_cell(self, col_index, cell_obj): >         if col_index in self.__cells: >            

[Tutor] "Error :Attempt to overwrite cell" while using xlwt to create excel sheets

2010-02-10 Thread nikunj badjatya
Hi, I am using xlwt 0.7.2 and Python 2.6. I come across a situation wherein one of the "rows" of the excel sheet created was being overwritten. And it was flagging the following error. File "/usr/local/lib/python2.6/site-packages/xlwt/Row.py", line 150, in insert_cell raise Exception(msg) Exc