Home

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

previous
next

Re: exception raised in destructor
prevent assignement from a vector
Re: Requesting critique of a C unit test environment
Re: copying elements from a <list> to <deque>
Making a small change to a large XML document
Rodzic Po Ludzku
Akogo
Fundacja Iskierka
Kidprotect
Mam Marzenie