469,616 Members | 1,806 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,616 developers. It's quick & easy.

wxPython version question

Hi at all
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 ?

Thanks and sorry for my orrible english

Aug 1 '07 #1
2 821
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

Aug 1 '07 #2
On 8/1/07, The Max <ya******@gmail.comwrote:
Hi at all
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 ?

Thanks and sorry for my orrible english

--
http://mail.python.org/mailman/listinfo/python-list
help(wxversion) describes in some detail all the methods you need.
Aug 1 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

25 posts views Thread by BJörn Lindqvist | last post: by
1 post views Thread by timothy.williams | last post: by
reply views Thread by Robin Dunn | last post: by
reply views Thread by Robin Dunn | last post: by
7 posts views Thread by krishnakant Mane | last post: by
4 posts views Thread by 7stud | last post: by
2 posts views Thread by Marco | last post: by
4 posts views Thread by stef | last post: by
6 posts views Thread by BartlebyScrivener | last post: by
reply views Thread by gooli | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.