wxPython tutorial?

Jive Dadson jdadson at yahoo.com
Fri Feb 27 01:55:52 EST 2004


I'm trying (without conspicuous success) to start learning
wxPython.  Sooo... I opened the doc page wxPythonManual.html#wxpython-overview.
The very first example does not work.  Try it.  I find much of what follows
to be incomprehensible.  Is there a good tutorial for novices?

Here's the example that does not work.  ("No module named frame")


import wx

from frame import Frame

class App(wx.App):
    """Application class."""

    def OnInit(self):
        self.frame = Frame()
        self.frame.Show()
        self.SetTopWindow(self.frame)
        return True

def main():
    app = App()
    app.MainLoop()

if __name__ == '__main__':
    main()



More information about the Python-list mailing list