[python-win32] how to determine the version of pywin programmatically ?

Jim Vickroy Jim.Vickroy at noaa.gov
Tue Dec 9 18:26:00 CET 2008


Hello all,

I'm writing a script to determine the versions of various installed 
software packages.

How do I access the pywin32 build number from within a script?

For example:

    * for the numpy package, it is: numpy.__version__
    * for the PIL package, PIL.Image.VERSION seems to work

I notice that the build number appears in:

    * pywin32.version.txt

but I was hoping for something similar to numpy or PIL.

Thanks in advance for your feedback,

-- jv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20081209/9140f224/attachment.htm>


More information about the python-win32 mailing list