In article 
<[EMAIL PROTECTED]>,
 Mike Driscoll <[EMAIL PROTECTED]> wrote:

> On Jul 13, 10:18 am, teh_sAbEr <[EMAIL PROTECTED]> wrote:
> > I'm busy trying to learn wxPython, and i'm trying to run the following
> > piece of code (its from the wxPyWiki tutorial):
> >
> > import wx
> >
[...]
> >
> > app = wx.PySimpleApp()
> > frame = MainWindow(None, -1, "Sample editor")
> > app.MainLoop()
> >[...]
> 
> This code works "as is" on Windows XP. However, I have gotten this
> error when trying to run it from IDLE and I've heard that that can
> happen in other Tkinter-based IDEs.

So I've heard. Just for fun I tried running it in a wxPython-based
shell - it worked fine.

> Try running it from the command
> line and I'll bet you won't get that error.
> 
> Also, there's a great wxPython user's group you can join from the
> official website:
> 
> www.wxpython.org
> 
> Mike

-- 
David C. Ullrich
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to