Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cross-Platform Python Notification Library

I'm making a python script that should run in the background and notify a user of changes, and I'd quite like it to work cross-platform. Main problem is, I don't have access to a mac at all, so coding specifically for it could be very difficult. wxPython seems like massive overkill for simple popups, so is there anything with a lighter footprint?

like image 543
Phoshi Avatar asked Dec 12 '09 12:12

Phoshi


1 Answers

Does Python on Windows and Mac also ship with Tk wrappers? If so, you might be able to roll your own notification box. I do not think they have a dead-simple notification API (i.e. you pass it a string and a cute box pops up for 5 seconds) however at least you will only have one codebase to maintain.

I am thinking about other cross-platform apps such as Skype, Dropbox, and Thunderbird. Skype and Thunderbird seem to have rolled their own, and Dropbox went the platform-specific route.

like image 151
JasonSmith Avatar answered Sep 23 '22 07:09

JasonSmith