Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'bits': 0.07; 'emulate': 0.07; 'fetch': 0.09; 'missed': 0.15; '12:30': 0.16; 'anyhow,': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'learn."': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'app': 0.16; '"you': 0.18; 'example.': 0.18; 'gui': 0.18; 'input': 0.18; '>>>': 0.20; 'preferred': 0.20; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'example': 0.26; 'this.': 0.28; 'device': 0.28; 'fine': 0.28; 'end,': 0.29; 'post': 0.31; 'says': 0.32; 'point': 0.33; 'michael': 0.33; 'message-id:@gmail.com': 0.34; 'know.': 0.34; 'something': 0.35; 'but': 0.36; 'needed': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'johnson': 0.37; 'wanted': 0.37; 'things': 0.38; 'button': 0.38; 'someone': 0.38; 'test': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; "you'll": 0.61; 'charset:windows-1252': 0.62; 'future,': 0.70; 'led': 0.72; "op's": 0.84; 'route': 0.84; 'rick': 0.93; 'ultimate': 0.93 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Thu, 16 Jul 2015 15:29:48 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Keypress Input References: <3fec5a1e-44e6-4e3c-ab01-2703f2911c50@googlegroups.com> <55A73355.40008@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437082193 news.xs4all.nl 2932 [2001:888:2000:d::a6]:48534 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93967 On 07/16/2015 01:10 AM, Terry Reedy wrote: > On 7/16/2015 12:30 AM, Michael Torrie wrote: >> On 07/15/2015 07:03 PM, Rick Johnson wrote: >>> >> >> I think you've missed the whole point of the OP's project. He doesn't >> want to make a GUI. He simply wants to have his program do something >> like blink an LED when someone presses a big red button. He just wanted >> a quick way to test things out since his big red button can emulate a >> USB keyboard. So all he needed was a simple console app that can fetch >> keystrokes. In the end, though GPIO is very simple both electrically >> and in terms of Python, so that is the ultimate route he will go. If >> you read his last post you'll find he says this. > > Rick pretty much acknowledged what you said in this paragraph. > > "You may have solved your input capturing problem, and i > don't think a GUI is the preferred solution for a > graphically deficient device anyhow, but you may well need a > GUI in the future, and this would be a fine example from which > to learn." > > It is a fine example. Good to know. With some posters it's hard to glean the good bits from the ramblings.