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.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 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 Subject: Re: Cross-Platform Python3 Equivalent to notify-send References: <51F3A7BB.4000305@Gmail.com> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On 07/27/2013 07:30 AM, Chris “Kwpolska” Warrick wrote: > 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 “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