Reading Windows .exe version info from Python

Andy Dent dent at oofile.com.au
Mon Feb 10 03:53:34 EST 2003


In article <dontspamshay-71630C.15022606022003 at news2.ozemail.com.au>, Shay
Telfer <dontspamshay at cygnus.uwa.edu.au> wrote:

>Any ideas how I can read the version information (ie major, minor, 
>release and build version numbers) from Windows .exe and .dll files from 
>Python?

Wrap the code example at http://www.codeproject.com/dll/dllversion.asp
into a library.

I can't see anywhere that PythonWin supports it.

I thought you had code already to do this in C :-)

If so, using calldll from http://www.nightmare.com/~rushing/dynwin/ may
make this easier.

enjoy!

-- 
Andy Dent BSc  MACS  AACM    http://www.oofile.com.au/
OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
PP2MFC - PowerPlant->MFC portability




More information about the Python-list mailing list