Python script that writes to an Excel file
Stephen Boulet
stephen.boulet at motorola.com
Mon Jul 29 14:28:26 EDT 2002
What if you wanted to do things like make a tabbed spreadsheet (tabs on
the bottom that break up a notebook int subparts, not '\t'), is this
possible with csv format?
Chris Liechti wrote:
> keilj_33 at yahoo.com (Jeffrey Keil) wrote in
> news:67f6bbe5.0207270544.696f6076 at posting.google.com:
>
>
>>Greetings:
>>
>>I'd like to have a Python script open a text file, process the data in
>>the text file and then write a report to an Excel file. I'm not sure
>>how I would write to an Excel file from a Python script. Is there any
>>books that would give me details on doing this?
>
>
> you could use COM. but i think its simpler to write the output to a text
> file again. use tabs to separate columns and name it .csv - excel will
> autodetect the format and load it correctly.
>
> chris
More information about the Python-list
mailing list