Created
March 25, 2015 07:16
-
-
Save vik-y/bd9b9df5b4cf78f28d0f to your computer and use it in GitHub Desktop.
Desktop Notifications in Python
This file contains 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
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