wxPython & redirecting stderr

simo simoninusa2001 at yahoo.co.uk
Tue Aug 10 18:52:05 EDT 2004


"flupke" <flupke at nonexistingdomain.com> wrote:

> i'm developing an app in wxPython but when i have an error in the
> wxPython code i've written, the app starts, an extra windows is
> opened where the error messages are print and then it closes
> again. Off course, this is to fast for the human eye to read :)
> How can i avoid this and have the wxPython messages arrive at the
> console just like the "normal" python error messages?

As I recall it has something to do with how you call MainLoop - I
think it's the 0 below, maybe you have 1 or nothing?

app = MyApp(0)
app.MainLoop()



More information about the Python-list mailing list