Mocking OpenOffice in python?

PaoloB pibizza at
Wed Mar 14 15:14:11 CET 2007

On 14 Mar, 14:52, Shane Geiger <sgei... at> 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.


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.



More information about the Python-list mailing list