COM and MS Word

CTony anthony.evershed at npl.co.uk
Mon Apr 7 10:13:55 EDT 2003


Thomas Guettler <pan-newsreader at thomas-guettler.de> wrote in message news:<pan.2003.04.07.11.53.57.522248.788 at thomas-guettler.de>...
> On Mon, 07 Apr 2003 11:15:31 +0200, CTony wrote:
> 
> > It appears that some data files I need are in WordPerfect (.dat) format,
> > and I need to get them into Python for processing and later entry into a
> > database. I haven't been able to find a way of interfacing to
> > WordPerfect directly, but MS Word 2000 can read these files...
> 
> Maybe you can solve your problem by avoiding COM. You can create HTML
> from Word-Documents with wvWare. I think you can handle this easier than
> COM. Our save the word document as XML and parse this.
> 
> Sorry, this was no answer to your question, but maybe it helps, too.
> 
>  thomas

Thanks, however (you could hear it coming, couldn't you?) I'm trying
to avoid making explicit changes to the document in Word, and unless
wvWare is run from Python...?

I've just found out - there are literally a few hundred of these files
(ulp!), which makes any real manual work a bit of a pain! *g*

Thanks anyway,

Tony




More information about the Python-list mailing list