472,119 Members | 978 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 851
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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.