Skip to content

Instantly share code, notes, and snippets.

@vik-y
Created March 25, 2015 07:16
Show Gist options
  • Save vik-y/bd9b9df5b4cf78f28d0f to your computer and use it in GitHub Desktop.
Save vik-y/bd9b9df5b4cf78f28d0f to your computer and use it in GitHub Desktop.
Desktop Notifications in Python
import pynotify
def desktop_notify(title, message):
pynotify.init("Test")
notice = pynotify.Notification(title, message)
notice.show()
#Works like a charm on both windows and linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment