Modify Word Doc with Python
dsavitsk
dsavitsk at e-coli.net
Sat Apr 6 13:32:26 EST 2002
if you do use a win32 COM solution, note that you need to find a way only
open one document at a time. If one is open and a second one is opened,
they will start to fight, that is, the original will be forgotten and Word
will do all modification to the most recently open doc.
i have written (am still working on) a spooler for word doc generation on a
server. it will appear at ecpspooler.sourceforge.net one of these days, but
if you are interested let me know. it is win32 only, however.
-d
"Thomas Guettler" <pan-newsreader at thomas-guettler.de> wrote in message
news:pan.2002.04.06.11.23.11.491490.3709 at thomas-guettler.de...
> On Sat, 06 Apr 2002 10:15:33 +0200, David McInnis wrote:
>
> > I need to alter the document properties of Word DOCS that our users
> > upload to our Web site. Does anyone know how to do this? (I am python
> > installed on a Linux box).
>
> You could do this with python and COM if you would use windows with
> MS-Office installed.
>
> If you have a Windows server around you could use some RPC method
> to do this form Linux.
>
> Wvware can change your MSWord files to HTML or an other format on unix.
> But it can't change the MSWord file as far as I know.
>
> BTW: I think it is called "I have python installed". But I am not a
> native speaker
>
> thomas
>
> --
> Thomas Guettler <guettli at thomas-guettler.de>
> http://www.thomas-guettler.de
More information about the Python-list
mailing list