Python and Word

Tim N. van der Leeuw tim.leeuwvander at nl.unisys.com
Mon Jan 16 09:39:41 EST 2006


Hi Rod,

If you download and install the 'Python Win' extensions, which I think
are linked from from the Python download page for windows, you have a
set of COM classes for Python which allow you to do everything you can
do in Word from a Python program.

It allows a lot of interactive exploration at the command prompt,
although not everything is very obvious (in part due to the way the
word object model is structured).

BTW, if you are new to Python, why not use VBA for the program?

cheers,

--Tim




More information about the Python-list mailing list