Determine version of wxPython at runtime?

How to get the version of wxPython at runtime? The following command

  print wxVERSION_STRING

displays

  wxWindows 2.4.0

on my system. Note this is the wxWindows version. How to get the wxPython version?

Gary Cramblitt wrote:

How to get the version of wxPython at runtime? The following command

  print wxVERSION_STRING

displays

  wxWindows 2.4.0

on my system. Note this is the wxWindows version. How to get the wxPython version?

THe next version will have all the info in wxVERSION_STRING, or the wxVERSION tuple. Currenlty you can get it from wxPython.wx.__version__.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!