Path: csiph.com!usenet.pasdenom.info!news.franciliens.net!fdn.fr!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'emulate': 0.07; 'fetch': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; 'missed': 0.15; '12:30': 0.16; 'anyhow,': 0.16; 'learn."': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'app': 0.16; '"you': 0.18; 'example.': 0.18; 'gui': 0.18; 'input': 0.18; '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; 'header:X-Complaints- To:1': 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; '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; 'to:addr:python.org': 0.40; 'your': 0.60; "you'll": 0.61; 'future,': 0.70; 'led': 0.72; "op's": 0.84; 'route': 0.84; 'received:fios.verizon.net': 0.91; 'rick': 0.93; 'ultimate': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Keypress Input Date: Thu, 16 Jul 2015 03:10:30 -0400 References: <3fec5a1e-44e6-4e3c-ab01-2703f2911c50@googlegroups.com> <55A73355.40008@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <55A73355.40008@gmail.com> 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437030654 news.xs4all.nl 2822 [2001:888:2000:d::a6]:39481 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93907 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. -- Terry Jan Reedy