Python script for deMSWordification?

Gerhard Häring gerhard.nospam at bigfoot.de
Wed Mar 7 10:51:19 EST 2001


kelvin.chu at uvm.edu wrote:
> 
> Dear fellow Pythoneers;
> 
> Numerous colleagues and administration types send memos, colloqium
> announcements and other things around in Micro$oft word format.  Has anyone
> written a filter in Python that can convert these things into normal text?
> 
> If not, is there a basic set of rules for decoding .doc format files
> anywhere that I can look at?

Hmm, not Python, but wv (http://www.wvWare.com/) does that job. It
converts M$ Word (6, 95, 97, 2000) to various formats.

It's a (C, C++?) library, so you should be able to write a Python
binding, if you need to access the internals of a Word document. For
conversion only, calling the command line program will suffice, of
course.

Gerhard
-- 
Sorry for the fake email, please use the real one below to reply.
contact: g e r h a r d @ b i g f o o t . d e
web:     http://highqualdev.com



More information about the Python-list mailing list