Help with wxPython program :.: return 1?

Vlastimil Brom vlastimil.brom at gmail.com
Sun Apr 5 15:13:14 EDT 2009


2009/4/5 Kenny x <xarverk at gmail.com>:
> Hello, I have a problem with my wxPython 2.8 Application.
> The program opens and closes and on KomodoEdit it says "wxstreamredirect.py
> returned 1.'
>  What's wrong?
> http://paste.pocoo.org/show/111180/
>
> P.S. I compared my source code to the source code in wxPython in Action,
> and it looks the same! Why does my program open, then return 1 and close?
>
> Any help Appreciated! :)
>
> ~ Xarver
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
Hi,
try to change the case on line 22:
self.frame.show()
>
self.frame.Show()

There is a traceback notice about Frame not having a show() method.

hth,
   vbr



More information about the Python-list mailing list