[python-win32] Getting pywin32 build number

Justin Johnson justinjohnson at gmail.com
Fri Oct 28 17:29:21 CEST 2005


Would you be opposed to introducing a variable with the version number so it
can be accessed more conveniently?

On 10/27/05, Mark Hammond <mhammond at skippinet.com.au> wrote:
>
>  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/8422a3aa/attachment.htm


More information about the Python-win32 mailing list