Created
July 15, 2013 14:15
-
-
Save anonymous/6000260 to your computer and use it in GitHub Desktop.
Use Growl to output info for debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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