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


Groups > comp.lang.python > #51348

Re: Cross-Platform Python3 Equivalent to notify-send

Path csiph.com!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <devyncjohnson@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'anyway.': 0.05; 'python3': 0.07; 'apis': 0.09; 'collier': 0.09; 'exist,': 0.09; 'framework.': 0.09; 'screen.': 0.09; 'subject:Python3': 0.09; 'url:github': 0.09; 'python': 0.11; 'windows': 0.15; 'balloon': 0.16; 'command.': 0.16; 'icon': 0.16; 'luck!': 0.16; 'magic': 0.16; 'subject:send': 0.16; 'usable': 0.16; 'windows?': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'coding': 0.22; 'creating': 0.23; 'header :User-Agent:1': 0.23; 'options': 0.25; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'url:mailman': 0.30; 'asked': 0.31; 'received:10.0.0': 0.31; 'that.': 0.31; 'easy,': 0.31; 'probably': 0.32; 'quite': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'implemented': 0.33; 'mac': 0.33; 'display': 0.35; 'something': 0.35; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'url:listinfo': 0.36; 'doing': 0.36; 'possible': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'thank': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'easy': 0.60; 'most': 0.60; 'email addr:gmail.com': 0.63; 'skip:n 10': 0.64; 'skip:\xe2 10': 0.65; '8bit%:43': 0.74; 'further,': 0.74; 'jul': 0.74; 'hoping': 0.75; '(2000': 0.84; 'pray': 0.84; 'received:mail-ob0-x22d.google.com': 0.84; 'subject:Platform': 0.84; 'shell,': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=7LdjJY10Zv+/k4wyH6NuIlyrwnxPO1HKCd4SSxkCO5A=; b=eR43AHjfKDHFMLCm9Vae96i2HM+NxGUSXxYu5lI8l5NRYTN1PbuY9/HIj56Ry2SmBE knw+go3aqYazBYwKEUdaFYWUdJmm0BS9j7Cjx+SjIDyoppeGoCVyx4h/AuB4preRwQgj GEsAf6nBTQx+MQHoSKE7NNBcXaVraGSCvBL1YVs54BQ2E2UoWW+4kCi6890E+sCzCZ09 isPchAD28yWf/6hXGPZ/+kTs6IpEk7uZVwdef+B0+ig9IbgK8q4qvVvTxgFa+PHm5/lM Yg+pZXOxm1BHgrrBM8fGjFj4TGvARdC4VxkP8br29OChVuW1Q8VKX8nU/oPLqW/WZqRt yk0Q==
X-Received by 10.182.128.42 with SMTP id nl10mr45187092obb.41.1374927722936; Sat, 27 Jul 2013 05:22:02 -0700 (PDT)
Date Sat, 27 Jul 2013 08:22:00 -0400
From Devyn Collier Johnson <devyncjohnson@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
MIME-Version 1.0
To Python Mailing List <python-list@python.org>
Subject Re: Cross-Platform Python3 Equivalent to notify-send
References <51F3A7BB.4000305@Gmail.com> <CAMw+j7K2KXSvFCAg8pMaMeV2wiQDCJWtv4bb9hFsbfHcdX_U6A@mail.gmail.com>
In-Reply-To <CAMw+j7K2KXSvFCAg8pMaMeV2wiQDCJWtv4bb9hFsbfHcdX_U6A@mail.gmail.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5165.1374927727.3114.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374927727 news.xs4all.nl 15911 [2001:888:2000:d::a6]:42660
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51348

Show key headers only | View raw


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 | NextNext in thread | Find similar | Unroll thread


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