Skip to content

Instantly share code, notes, and snippets.

@prehensile
Created November 13, 2010 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prehensile/675078 to your computer and use it in GitHub Desktop.
Save prehensile/675078 to your computer and use it in GitHub Desktop.
Simple GrowlPython example
import Growl
# set up a new GrowlNotifier with our name and a list of the notifications we'll be posting
gn = Growl.GrowlNotifier( "YourAppName", ["A readable notification name", "another readable notification name"] )
# register the notifier with Growl
gn.register()
# post a notification
gn.notify( "Notification name from the list we registered earlier", "Notification Title", "Notification body" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment