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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python3': 0.07; 'utf-8': 0.07; 'apis': 0.09; 'collier': 0.09; 'exist,': 0.09; 'framework.': 0.09; 'subject:Python3': 0.09; 'url:github': 0.09; 'cc:addr :python-list': 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; 'cc:addr:python.org': 0.22; 'creating': 0.23; 'cc:2**0': 0.24; 'options': 0.25; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'asked': 0.31; 'easy,': 0.31; 'probably': 0.32; 'quite': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'mac': 0.33; 'sense': 0.34; 'something': 0.35; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'possible': 0.36; 'url:org': 0.36; 'handle': 0.38; 'pm,': 0.38; 'url:mail': 0.40; 'easy': 0.60; 'most': 0.60; 'from:charset:utf-8': 0.61; 'email addr:gmail.com': 0.63; 'skip:n 10': 0.64; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; '8bit%:43': 0.74; 'further,': 0.74; 'jul': 0.74; '(2000': 0.84; 'pray': 0.84; 'subject:Platform': 0.84; 'shell,': 0.91; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3DIFLI1ug8LshtfpE92HtCVdcd/bLlW1bHALnaKQCuY=; b=qtqTVpknDDFv8kSABzDBcgnvr7Kkz+oJN8bqU9ozrMoMm/GdnruSTI66MtibClTWny TxeewsG/bPMLmILDfltuk5awS03VxQBJLE6WwVBDLy+5UREveT2L10HjubyY0JD3l8xW +7rxzZcMqYfwn4VtnSmHBsqGC6olL2BY57RGBgxWq01fSUgX2HF0OfrRtVOpo+AyNWgy sqPmEIMBVmB7FvmpmYsV1DkDtr0rDjx1wIMjYpn5cI55xUJ4I87ghN//fqw6tV8wMJQG kFxh7Czc48vKZ9ifCcRz2hB+LSERS3oSkEeMaVT17hQ5JpT5xP3rPGbtszZXhNyYBvPW 0hcw== MIME-Version: 1.0 X-Received: by 10.50.22.72 with SMTP id b8mr259096igf.17.1374924623092; Sat, 27 Jul 2013 04:30:23 -0700 (PDT) In-Reply-To: <51F3A7BB.4000305@Gmail.com> References: <51F3A7BB.4000305@Gmail.com> Date: Sat, 27 Jul 2013 13:30:23 +0200 Subject: Re: Cross-Platform Python3 Equivalent to notify-send From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: Devyn Collier Johnson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Python Mailing List X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374924631 news.xs4all.nl 15972 [2001:888:2000:d::a6]:56025 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51343 On Sat, Jul 27, 2013 at 12:58 PM, Devyn Collier Johnson 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 =E2=80=9Cno= =E2=80=9D. 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=E2=80=99s 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. --=20 Chris =E2=80=9CKwpolska=E2=80=9D Warrick PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense