wx.NotificationMessage AttributeError: 'module' object has no attribute 'NotificationMessage'
- by HughGrigg
I get this error when trying to use wxPython's NotificationMessage class:
wx.NotificationMessage("", "Hello world!").Show()
AttributeError: 'module' object has no attribute 'NotificationMessage'
The code is quite simply:
#!/usr/bin/python
import wx
app = wx.App()
wx.NotificationMessage("", "Hello world!").Show()
app.MainLoop()
What am I…