Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   MSoffice metadata (http://www.velocityreviews.com/forums/t359004-msoffice-metadata.html)

micklee74@hotmail.com 06-25-2006 04:29 AM

MSoffice metadata
 
hi
is there a module in Python to extract metadata in MS office documents
thanks


Gary Herron 06-25-2006 06:26 AM

Re: MSoffice metadata
 
micklee74@hotmail.com wrote:
> hi
> is there a module in Python to extract metadata in MS office documents
> thanks
>
>

Perhaps. OpenOffice can read and write MS office files, and OpenOffice
has an API (called UNO for Universal Network Objects) which has a Python
binding (called the Python-UNO bridge). This might (eventually) get you
what you want.

Here's a URL for it:
http://udk.openoffice.org/python/python-bridge.html

Good luck,
Gary Herron


Diez B. Roggisch 06-25-2006 03:26 PM

Re: MSoffice metadata
 
micklee74@hotmail.com schrieb:
> hi
> is there a module in Python to extract metadata in MS office documents


You can automate MS Office using the python win32 com extensions of Mark
Hammond. They come bundled with the active-state python build, or can be
obtained separately.

Diez

Roger Upole 06-27-2006 08:51 AM

Re: MSoffice metadata
 
<micklee74@hotmail.com> wrote in message news:1151209771.276872.299240@b68g2000cwa.googlegr oups.com...
> hi
> is there a module in Python to extract metadata in MS office documents
> thanks
>


The Pywin32 package (http://sourceforge.net/projects/pywin32/)
wraps the interfaces used to read and write document properties.
Specifically, you can use pythoncom.StgOpenStorage to retrieve
an IPropertySetStorage interface.

Roger





----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---


All times are GMT. The time now is 05:16 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.