python - python中的 growl 通知

标签 python macos growl

在 python 中使用 Growl 但没有出现任何东西。使用以下代码。在 OSX Lion 上运行 Growl 1.3.3。有人成功了吗?

import Growl

notifier = Growl.GrowlNotifier(applicationName='mzgrowl', notifications=['alive'])
notifier.register()
notifier.notify('alive', 'mzgrowl', 'test message')

最佳答案

看起来有一个新的用于 growl 的Python绑定(bind)库:gntp

你可能会有更好的运气。

关于python - python中的 growl 通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10608678/

相关文章:

python - 从字符串列表的列表中解析元素

python - 导入 dlib 导入错误符号未找到 : _PyClass_Type

python - 在 Windows 上安装 Bellatrix 时遇到困难

java - 使用 Java 在 Windows 和 Mac 上读取和写入文件以打包到项目中

xcode - 有没有办法在没有 NSClassFromString 的情况下使用 GrowlApplicationBridge?

python scikit学习,在LDA中获取每个主题的文档

iphone - cocoa 应用程序的 info plist 中的 "bundle display name"和 "bundle name"有什么区别

macos - NSOpenPanel 的 beginWithCompletionHandler block

Ruby 系统命令在控制台外不起作用

error-handling - 如何处理 Primefaces 延迟加载中的错误?