I have Python and WxPython installed. I want to check what is the version of WxPython installed.
Didn't find the answer on https://wxpython.org/
Do as follows:
>>> import wx
>>> wx.version()
'3.0.2.0 msw (classic)'
>>> wx.__version__
'3.0.2.0'
If you want a one-liner on the command-line without using pip:
python -c "import wx;print wx.__version__"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With