On Apr 10, 2006, at 3:21 PM, Opstad, Dave wrote:

On 4/10/06 12:11 PM, "Louis Pecora" <[EMAIL PROTECTED]> wrote:

> #!/usr/bin/pythonw
>
> import wx
>
> class App(wx.App):
>     def OnInit(self):
>         frame = wx.Frame(parent=None, title="BaRe")
>         frame.Show()
>         return true
>
> app = App()
> app.MainLoop()

I think the return should be True, not true.

Dave

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org

And I think the shebang line at the beginning should be

#!/usr/bin/env pythonw

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to