I just did an upgrade to the newest version of wxPython and think this may
be the cause of my problem. I made sure to uninstall the older version
before doing the install but once it was installed the demo no longer works.
It errors out and says:
Traceback (most recent call last):
File "C:\Python21\wxPython\demo\demo.py", line 4, in ?
Main.main()
File "C:\Python21\wxPython\demo\Main.py", line 736, in main
app = MyApp(wx.Platform == "__WXMAC__")
File "C:\Python21\wxPython\wx.py", line 1945, in __init__
_wxStart(self.OnInit)
File "C:\Python21\wxPython\demo\Main.py", line 724, in OnInit
return True
NameError: global name 'True' is not defined
Is this because of the new namespace? (Import wx instead of from
wxPython.wx import *)
I'm not sure what to do at this point.
Any Ideas?
Thanks,
E