DLL version number

Roger Upole rupole at hotmail.com
Tue Mar 9 04:52:05 CET 2004

You can use win32api.GetFileVersionInfo.
See /demos/getfilever.py for an example of how to use it.

"Hung Jung Lu" <hungjunglu at yahoo.com> wrote in message
news:8ef9bea6.0403081509.31b3f9e at posting.google.com...
> Hi,
> If I have a Windows DLL file, how can I retrieve its version number
> (e.g.: 2.40.4275.1)? Does Win32 extensions, ctypes or related modules
> provide such a utility?
> regards,
> Hung Jung

More information about the Python-list mailing list