Skip to content

Instantly share code, notes, and snippets.

Created July 15, 2013 14:15
Show Gist options
  • Save anonymous/6000260 to your computer and use it in GitHub Desktop.
Save anonymous/6000260 to your computer and use it in GitHub Desktop.
Use Growl to output info for debugging
# You need to have gntp first: pip install gntp
import os
debug = False
if os.uname()[0] == 'Darwin':
debug = True
import gntp.notifier
if debug:
gntp.notifier.mini('Hello World')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment