Skip to content

Instantly share code, notes, and snippets.

@batok
Created July 6, 2009 13:56
Show Gist options
  • Save batok/141436 to your computer and use it in GitHub Desktop.
Save batok/141436 to your computer and use it in GitHub Desktop.
import socket, Growl
notifier = Growl.GrowlNotifier("ipgrowl.py", ["ip"])
notifier.register()
notifier.notify("ip",socket.gethostbyname(socket.gethostname()),"Your Ip address",sticky=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment