[python-win32] Getting pywin32 build number

Mark Hammond mhammond at skippinet.com.au
Fri Oct 28 01:16:07 CEST 2005


Nope, that's it - or you could use win32apiGetFileVersionInfo to check a specific DLL/.pyd.

Mark.
  -----Original Message-----
  From: python-win32-bounces at python.org [mailto:python-win32-bounces at python.org]On Behalf Of Justin Johnson
  Sent: Friday, 28 October 2005 7:43 AM
  To: python-win32 at python.org
  Subject: [python-win32] Getting pywin32 build number


  Is the build number for pywin32 (win32all) available anywhere other than pywin32.version.txt sitting in site-packages?  I want to raise an exception if the wrong version is installed.  I can read this file if needed, but it seems like there should already be a variable or function for getting this. 

  Thanks,
  Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20051028/c87e7a16/attachment.htm


More information about the Python-win32 mailing list