parsing MS word docs -- tutorial request

Mike Driscoll kyosohma at gmail.com
Wed Oct 29 10:11:39 EDT 2008


On Oct 29, 4:32 am, Okko Willeboordsed <okko.willeboor... at gmail.com>
wrote:
> Get a copy of;  Python Programming on Win32, ISBN 1-56592-621-8
> Use Google and VBA for help
>
> bp.tralfamad... at gmail.com wrote:
> > All,
>
> > I am trying to write a script that will parse and extract data from a
> > MS Word document.  Can / would anyone refer me to a tutorial on how to
> > do that?  (perhaps from tables).  I am aware of, and have downloaded
> > the pywin32 extensions, but am unsure of how to proceed -- I'm not
> > familiar with the COM API for word, so help for that would also be
> > welcome.
>
> > Any help would be appreciated.  Thanks for your attention and
> > patience.
>
> > ::bp::

Also check out MSDN as the win32 module is a thin wrapper so most of
the syntax on MSDN or in VB examples can be directly translated to
Python. There's also a PyWin32 mailing list which is quite helpful:

http://mail.python.org/mailman/listinfo/python-win32

Mike



More information about the Python-list mailing list