Python system tray notifications in Linux

As a follow up to my previous post, here's how to accomplish system tray notifications in ubuntu linux and family. I must say, compared to windows, this is child's play... under ten lines of code! #!/usr/bin/python import sys import pynotify if __name__ == '__main__': if not pynotify.init ("summary-body"): sys.exit (1) # try the summary-body case … Continue reading Python system tray notifications in Linux

Windows system tray popups using Python

I modified Simon Brunning's epic example (original can be found here) to include an example of how to have a windows system tray icon display a popup on demand. Here's the coding: https://docs.google.com/document/d/1xySFrLgSAiTfymgCQvW4bpsva_rzkwOqkcsoYWhN0a0/edit?usp=sharing   The differences are: Added a new method to the sysTrayIcon class called "set_popup". This is where win32 api does it's magic … Continue reading Windows system tray popups using Python