Excel module for Python

Erwin S. Andreasen erwin+usenet at andreasen.org
Sun Jan 16 16:19:14 EST 2005

Simon Brunning <simon.brunning at gmail.com> writes:

> On Wed, 12 Jan 2005 23:19:44 +0800, sam <sam.wun at authtec.com> wrote:
>> No, I don't use MS windows. I need to generate Excel file by printing
>> data to it, just like Perl module Spreadsheet::WriteExcel.

> If you need to write out formulae, formratting, that kind of thing,
> then I think you'll need to write a 'real' Excel file. I don't have a
> clue how to do that - sorry.

There's actually an ancient open spreadsheet format called SYLK which
is a step above CSV: it allows formatting of data, formulas etc.

Google for SYLK to get the rather sparse specification (and skip over
the first few links!)

If you want to generate "real" Office files from UNIX, another
alternative is to automate OpenOffice (which has a COM-like interface
too) or generate OO XML files and feed them to OO asking to conver
them with a bit of OO macro magic.

<erwin+usenet at andreasen.org>                    Herlev, Denmark     
<URL:http://www.andreasen.org/>                             <*>   

More information about the Python-list mailing list