How to run wx Python module in Jupyter notebook and execute the code successfully?
How to run wx Python module in Jupyter notebook and execute the code successfully?
Have you tried using the %gui wx magic? It will create an wx.App object and integrate the wx mainloop with the Jupyter message handling loop. Notice that I didn't need to create a wx.App nor run MainLoop in the screenshot below.