[Tutor] wxPython window flashes open and closed

Daniel Ehrenberg littledanehren at yahoo.com
Wed Nov 26 15:59:24 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:

import wx
class window(wx.Frame):
    def __init__(self):
        wx.Frame.__init__(self, None, -1, "Hi")

if __name__ == '__main__':
    x = window()

I'm using Debian GNU/Linux and Python 2.3.2, but I
don't think that should matter.

Daniel Ehrenberg

Do you Yahoo!?
Free Pop-Up Blocker - Get it now

More information about the Tutor mailing list