python中的Growl通知

Mar*_*ina 7 python macos growl

在python中使用Growl但是没有出现任何运气.使用以下代码.使用Growl 1.3.3在OSX Lion上运行.有人这个有用吗?

import Growl

notifier = Growl.GrowlNotifier(applicationName='mzgrowl', notifications=['alive'])
notifier.register()
notifier.notify('alive', 'mzgrowl', 'test message')
Run Code Online (Sandbox Code Playgroud)

Mat*_*kel 3

看起来有一个新的用于咆哮的Python绑定库:gntp

你可能会有更好的运气。