Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63183
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mhysnm1964@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.090 |
| X-Spam-Evidence | '*H*': 0.82; '*S*': 0.00; 'python': 0.11; 'element.': 0.16; 'sudo': 0.16; 'all.': 0.16; 'module': 0.19; 'input': 0.22; 'to:name:python-list@python.org': 0.22; 'print': 0.22; '2.x': 0.24; 'keyboard': 0.24; 'sean': 0.24; 'code:': 0.26; 'dos': 0.30; 'quite': 0.32; 'text': 0.33; 'screen': 0.34; 'display': 0.35; 'except': 0.35; 'received:google.com': 0.35; 'next': 0.36; 'charset:us-ascii': 0.36; 'list': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'delete': 0.39; 'to:addr:python.org': 0.39; 'eventually': 0.60; 'header:Message- Id:1': 0.63; 'equals': 0.68; 'press': 0.70; 'action.': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=P2epH2XdJBWb3InNf1Fs6eFeMZPXWNRmQpxHf5h21N0=; b=QFwWZUNCXvJYSDDVh+qgXejc/Dub7sXIxpWZ1EguN2WmlDAGd8SWQS/ASJXp9AxxCe /BTVQp18TNbc/+bubcv90iLxidOxcdgM5J0sI8sD26c1cxPbEZRpR5tW2A+8WIGFrtJK 3CO2TkfkP7rFRwO6aeIjY+NKtzQeEI1nrC7IiGHXtqyOe5eynunn4Zdvpha1tTjMxIou 6P5BmedlyctEd5osk2mybGUCDozZ4mE7HJ+wEhyaKS5jQGsEsIwRzIps+NYZHpK21H/p zqMpj8pYEsJgt7ZTR29V7FYQuDmeAprSyn9koC1SoF6QlmcycFRII7xxOlWYsOKGaoON Yx+A== |
| X-Received | by 10.68.223.9 with SMTP id qq9mr27245402pbc.58.1388913914202; Sun, 05 Jan 2014 01:25:14 -0800 (PST) |
| From | Sean Murphy <mhysnm1964@gmail.com> |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | quoted-printable |
| Subject | Dos cursor and input management. |
| Date | Sun, 5 Jan 2014 20:25:11 +1100 |
| To | "python-list@python.org" <python-list@python.org> |
| Mime-Version | 1.0 (Mac OS X Mail 6.6 \(1510\)) |
| X-Mailer | Apple Mail (2.1510) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4939.1388913923.18130.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1388913923 news.xs4all.nl 2852 [2001:888:2000:d::a6]:56247 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63183 |
Show key headers only | View raw
Hi all. I am after a module that manages keyboard input. I am aware of raw_input for python 2.x and input for 3.x. They don't quite achieve what I want. I want to except a single key without printing it to the screen and then the key would perform an action. Sudo code: print line of text wait for key press If key press equals delete line. Delete list element. else if key press equals edit display line for interactive edit. else move to next line The module must work under dos for now. Eventually Mac. Sean
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Dos cursor and input management. Sean Murphy <mhysnm1964@gmail.com> - 2014-01-05 20:25 +1100
Re: Dos cursor and input management. Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-05 16:48 +0000
Re: Dos cursor and input management. Sean Murphy <mhysnm1964@gmail.com> - 2014-01-06 09:03 +1100
csiph-web