File version on Windows
Steve Holden
sholden at holdenweb.com
Thu May 22 16:53:16 EDT 2003
"Eugene C." <hc_74 at yahoo.com> wrote ...
> Hey all. I've been browsing the Python documents and the Internet for
> information on retrieving the version of a file on Windows-based machines.
> It seems there is a Win32API method called GetFileVersionInfo() which
> retrieves the version information from a file. However, the win32api
module
> (from win32all extensions) which comes with ActiveState Python does not
> include this method. Anyone have any ideas how I can get file version
info?
> Thanks much!
>
My usual answer to questions like this is "grovel to Mark Hammond", but a
lot will depend on how much paying work he currently has :-)
Otherwise you'll have to add the necessary code yourself -- win32all is open
source, after all.
regards
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
More information about the Python-list
mailing list