[Tutor] wxPython window flashes open and closed

Karl Fast karl.fast at pobox.com
Wed Nov 26 23:18:42 EST 2003


> I'm trying to learn wxPython. I made a simple hello world app but it
> just flashes open and closed. Here's the code:

I had the same problem. You need to redirect stdout/stderr to a file.
By default it goes to a console window, but this disappears
immediately after the program exits. So if you've got a fatal error
that causes your program to die before it gets started, well, you'll
never see it.

This message describes the problem and the solution. Worked for me.

http://lists.wxwindows.org/archive/wxPython-users/msg07054.html



More information about the Tutor mailing list