wxpython

Python bindings for wxWidgets cross-platform GUI toolkit

brewmacoslinux
Try with needOr install directly
Source

About

Python bindings for wxWidgets

Commands

wxpython

Examples

Create a simple wxPython GUI application window$ python -c "import wx; app = wx.App(); frame = wx.Frame(None, title='Hello'); frame.Show(); app.MainLoop()"
Build a basic button and text control in a frame$ python -c "import wx; app = wx.App(); f = wx.Frame(None); p = wx.Panel(f); wx.Button(p, label='Click'); wx.TextCtrl(p); f.Show(); app.MainLoop()"
Import and verify wxPython installation$ python -c "import wx; print(f'wxPython {wx.__version__} installed')"