Cross-Platform Python3 Equivalent to notify-send

Devyn Collier Johnson devyncjohnson at gmail.com
Sat Jul 27 08:22:00 EDT 2013


On 07/27/2013 07:30 AM, Chris “Kwpolska” Warrick wrote:
> On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson
> <devyncjohnson at gmail.com> wrote:
>> Linux systems with the proper software can use the "notify-send" command. Is
>> there a cross-platform Python3 equivalent?
>>
>> Mahalo,
>>
>> Devyn Collier Johnson
>> DevynCJohnson at Gmail.com
>> --
>> http://mail.python.org/mailman/listinfo/python-list
> You already asked this on Thursday.  And the answer is probably “no”.  Creating
>
> Under X11-based systems, you would have to call the dbus notification
> APIs and pray that the user has something to handle it running (KDE,
> GNOME Shell, XFCE4’s notification daemon).  Under Mac OS X 10.7 and
> further, you need to work with some system APIs, and that may not be
> easy, but possible (eg. https://github.com/alloy/terminal-notifier for
> Ruby).
>
> But Windows?  GOOD LUCK!  The following options exist, none of which
> is easy to implement, and one of which is not usable with most
> clients:
>
> a) Toast Notifications in Windows 8/Server 2012, which is not a
>     popular platform and may require quite a lot of magic in terms of
>     coding and else (VS2012);
> b) Create a tray icon and do a balloon (2000 and up?, definitely in XP);
> c) Create your very own Windows toast notifications framework.
>
That really sucks. I was hoping Python had some way of doing that. All 
that it needs to do is display a little box at one of the corners of the 
screen. I thought someone would have implemented something by now. Thank 
you anyway.

Mahalo,

DCJ



More information about the Python-list mailing list