[Tutor] Attempt to overwrite excel cell Python

Steven D'Aprano steve at pearwood.info
Tue Oct 12 00:41:19 CEST 2010


On Tue, 12 Oct 2010 07:08:15 am Susana Iraiis Delgado Rodriguez wrote:

> But when I run it, it throws me the error:
> *Exception*: *Attempt to overwrite cell*: sheetname='shp' rowx=1
> colx=0, don't know what is wrong

Please don't summarise the error. Copy and paste the exact error 
message, including the full traceback.

I suspect that you might need to read the documentation of the xlwt 
project and see what it says. Perhaps the cell you are trying to 
overwrite is locked?

-- 
Steven D'Aprano


More information about the Tutor mailing list