wxPython version question

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Aug 1 14:45:13 CEST 2007


The Max wrote:

> Hi have need of testing the version of wxPython in use .... at the
> moment I use wxversion, but I don't can find a method for testing
> version like this:
> 
> if versionOfWX() <= 2.8:
> 
> or
> 
> if versionOfWX() >= 2.8:
> 
> ( versioneOfWX is a pseudo-function  create for this example )
> 
> Someone know a solution for this ?

>>> import wx
>>> wx.VERSION
(2, 8, 1, 1, '')
>>> 

Regards,


Björn

-- 
BOFH excuse #298:

Not enough interrupts




More information about the Python-list mailing list