Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51343 > unrolled thread

Re: Cross-Platform Python3 Equivalent to notify-send

Started byChris “Kwpolska” Warrick <kwpolska@gmail.com>
First post2013-07-27 13:30 +0200
Last post2013-07-27 13:30 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Cross-Platform Python3 Equivalent to notify-send Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-07-27 13:30 +0200

#51343 — Re: Cross-Platform Python3 Equivalent to notify-send

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-07-27 13:30 +0200
SubjectRe: Cross-Platform Python3 Equivalent to notify-send
Message-ID<mailman.5163.1374924631.3114.python-list@python.org>
On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson
<devyncjohnson@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@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.

-- 
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web