Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51348
| Date | 2013-07-27 08:22 -0400 |
|---|---|
| From | Devyn Collier Johnson <devyncjohnson@gmail.com> |
| Subject | Re: Cross-Platform Python3 Equivalent to notify-send |
| References | <51F3A7BB.4000305@Gmail.com> <CAMw+j7K2KXSvFCAg8pMaMeV2wiQDCJWtv4bb9hFsbfHcdX_U6A@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5165.1374927727.3114.python-list@python.org> (permalink) |
On 07/27/2013 07:30 AM, Chris “Kwpolska” Warrick wrote: > 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. > 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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Cross-Platform Python3 Equivalent to notify-send Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-27 08:22 -0400
Re: Cross-Platform Python3 Equivalent to notify-send Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-27 15:59 +0000
Re: Cross-Platform Python3 Equivalent to notify-send Chris Angelico <rosuav@gmail.com> - 2013-07-27 17:06 +0100
Re: Cross-Platform Python3 Equivalent to notify-send Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-27 13:03 -0400
csiph-web