Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!feed.xsnews.nl!border-2.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed6.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.065 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.01; 'python': 0.08; 'captured': 0.16; 'ncurses': 0.16; 'subject:Single': 0.16; 'subject:key': 0.16; 'wonder': 0.23; 'library.': 0.24; 'script': 0.28; 'message- id:@mail.gmail.com': 0.28; 'to:addr:python-list': 0.34; 'something': 0.35; 'similar': 0.36; 'received:74.125': 0.37; 'received:google.com': 0.37; 'to:addr:python.org': 0.40; 'press': 0.72; 'realistic': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=huKYiWLjeak2eQcPOyjK8tNy9+EteHr/3C4XuWJbIqw=; b=RfSm+eJQT3KIhD9L1I/k+nYz7ujcSyd/GT0PO4wQcD1pePVJFy1UKErXfSpm/8Ook6 ZK2RPeEjjQsXoIlJBfG1BxDfvZ7cckNbkhoRKWZswa7ttf3S3fyT6xx38dyxCBvolUGM wAOfxFijY5+UtWNZSU+ooQEddv/Yujfk07Ql0= MIME-Version: 1.0 Date: Tue, 6 Dec 2011 10:19:55 +0430 Subject: Single key press From: Sergi Pasoev To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323150597 news.xs4all.nl 6859 [2001:888:2000:d::a6]:50669 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16701 Hi. I wonder if it is realistic to get a single key press in Python without ncurses or any similar library. In single key press I mean something like j and k in Gnu less program, you press the key and and it is captured by the script without need to press enter afterwards