Python script that writes to an Excel file
Chris Liechti
cliechti at gmx.net
Sat Jul 27 09:55:11 EDT 2002
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
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list