By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,907 Members | 2,031 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,907 IT Pros & Developers. It's quick & easy.

wxPython version question

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.