win32 file attributes

Roger Upole rupole at hotmail.com
Thu Aug 28 22:38:13 EDT 2003


The corresponding api call would be GetFileVersionInfo.
As far as I know, nobody has wrapped it for Python yet,
probably because it looks to be fairly painful.
      Roger

"David Bear" <david.bear at asu.edu> wrote in message
news:m3wucxo1te.fsf at moroni.pp.asu.edu...
> Using the windows explorer it is possible to get file properties which
> include under the version tab, 'company name', 'version', etc.  I'm
> assuming these metadata are actually stored in the exe somewhere.  Is
> there an api exposed to python that would allow me to get this info?
>
> a scan of Mark Hammonds win32all package did have anything obvious
> jump out at me...
>
> --
> David Bear
> phone: 480-965-8257
> fax: 480-965-9189
> College of Public Programs/ASU
> Wilson Hall 232
> Tempe, AZ 85287-0803
>  "Beware the IP portfolio, everyone will be suspect of trespassing"






More information about the Python-list mailing list