Re: [Tutor] Attempt to overwrite excel cell Python

2010-10-14 Thread Susana Iraiis Delgado Rodriguez
Hi Walter! I already looked at the code you suggested me to accomplish my goal, I made some changes on it to match mine, your code is very neat and nice. Here are some lines I changed: - First I did the file search file_list = [] folders = None for root, folde

Re: [Tutor] Attempt to overwrite excel cell Python

2010-10-11 Thread Walter Prins
Hi Susana, On 11 October 2010 21:08, Susana Iraiis Delgado Rodriguez < susana.delgad...@utzmg.edu.mx> wrote: > > *Exception*: *Attempt to overwrite cell*: sheetname='shp' rowx=1 colx=0, > don't know what is wrong > > This is a default of xlwt behaviour for writing Excel files. It assumes it woul

Re: [Tutor] Attempt to overwrite excel cell Python

2010-10-11 Thread Steven D'Aprano
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, incl

[Tutor] Attempt to overwrite excel cell Python

2010-10-11 Thread Susana Iraiis Delgado Rodriguez
Hello members: I'm using xlwt from python to work with excel, I'm developing some sort of system crawler to look for all the files ending with .shp, I took a look to csv, but I didn't understand it. Now, I have to create a .xls where people can save information from shp files, but first I have to