wxPython stderr/stdout window
While executing a wxpython script if a error occurs then a white window popups with some message, and it disappears fast enough before it can be read.
So here is a fix to pause it and read it what and where the error in the code is :
app = wx.App(redirect=False)
MyFrame(None).Show()
app.MainLoop()
The wx.App takes this parameter called redirect which can be True or False.
It defaults to True for Windows and MacOS. Another argument is filename=(None/
Popularity: 2% [?]
















That was helpful, thanks. Those disappearing errors were really annoying me.