Mocking OpenOffice in python?

PaoloB pibizza at gmail.com
Wed Mar 14 10:14:11 EDT 2007


On 14 Mar, 14:52, Shane Geiger <sgei... at ncee.net> wrote:
> My take was that this is an effort to manipulate these files without the
> need for Open Office, so I replied as follows:
>
> Open Office files (.ods and perhaps .odt) are just zipped or gzipped.
> Unpack that and then you are dealing with manipulating regular text
> files--probably HTML.

No.

What I was trying was to build a fake OpenOffice server, so that we
could interact with a fake OpenOffice during our unit test. As
OpenOffice is quite slow, this could improve the performance of our
unit tests.

However, your suggestion is interesting.

Ciao

PaoloB




More information about the Python-list mailing list