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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to