import wx app = wx.App() win = wx.Frame(None) win.Show() app.MainLoop()
When I run it I get the error:
Traceback (most recent call last):
File "C:\Python27\test.py", line 2, in <module>
app = wx.App()
AttributeError: 'module' object has no attribute 'App'
Does anyone know how to fix this? The wxPython installed it the directory
C:\Python27\Lib\site-packages if you were wondering.