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 incomprehensibl e. 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):
"""Applicat ion class."""
def OnInit(self):
self.frame = Frame()
self.frame.Show ()
self.SetTopWind ow(self.frame)
return True
def main():
app = App()
app.MainLoop()
if __name__ == '__main__':
main()
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 incomprehensibl e. 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):
"""Applicat ion class."""
def OnInit(self):
self.frame = Frame()
self.frame.Show ()
self.SetTopWind ow(self.frame)
return True
def main():
app = App()
app.MainLoop()
if __name__ == '__main__':
main()
Comment