I copied this code from https://wxpython.org/pages/overview/#hello-world, and got the error message shown.
What’s going on?
Thank you.
I copied this code from https://wxpython.org/pages/overview/#hello-world, and got the error message shown.
What’s going on?
Thank you.
wx.Frame
starts with a capitalized F
.
Thanks. Fixed. It ran to completion, but no window appeared.
As an aside, to this newbie, Python’s obsession with upper/lower case is pretty annoying.
You need to call app.MainLoop()
. Leaving off the parentheses just evaluates to the method object expression. It does not call it.
Thanks.
Sorry to be incompetent.
I’m very new to Python, and haven’t done any programming in decades. Trying to get myself up to speed from my Fortran/COBOL days.