Skip to content

Instantly share code, notes, and snippets.

@kfdm
Created March 6, 2014 04:45
Show Gist options
  • Save kfdm/9382830 to your computer and use it in GitHub Desktop.
Save kfdm/9382830 to your computer and use it in GitHub Desktop.
import logging
from gntp.notifier import GrowlNotifier
logging.basicConfig(level=logging.DEBUG) # So you can see the gntp messages
growl = GrowlNotifier(notifications=['test'])
growl.register()
growl.notify('test', 'test', 'test')
# Remove the app from growl
growl.notify('test', 'test', 'test')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment