Python & OpenOffice Spreadsheets

Krishnakant hackingkk at gmail.com
Mon Nov 23 12:25:07 CET 2009


On Mon, 2009-11-23 at 11:12 +0000, Paul Rudin wrote:
> Gerhard Häring <gh at ghaering.de> writes:
> 
> > Is there a *simple* way to read OpenOffice spreadsheets?
> >
> > Bonus: write them, too?
> >
> > I mean something like:
> >
> > doc.cells[0][0] = "foo"
> > doc.save("xyz.ods")
> >
> >>From a quick look, pyodf offers little more than just using a XML parser
> > directly.
> 
> 
> Depends on exactly what you mean by "simple" - but pyuno allows you to
> read and write openoffice spreadsheets.


Odfpy is a good module and is easy too.
http://kk.hipatia.net/public/gnukhata/gnukhata-client/ has a deb package
I built for ubuntu 9.04.
I can even provide you the distutils tarball off the list (because I
can't recall the url from I downloaded it, may be sourceforge ).
Happy hacking.
Krishnakant




More information about the Python-list mailing list