Search code examples
pythonwxpython

How to check wxPython release from python GUI (IDLE)?


I am a newbie in wxPython. I have opened up a python GUI (IDLE) where I am writing my code. import wx works fine for me hence there is no doubt that wx is working fine

Now, I would like to print the wxPython release. How do I do it from IDLE editor?

(It may seem silly, I couldn't get the exact command) I would like to get my output like: Your WxPython release is: 2.6


Solution

  • You can see here how:

    http://wxpython-users.1045709.n5.nabble.com/Determine-version-of-wxPython-at-runtime-td2292695.html

    EDIT:

    wx.__version__