Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41869 > unrolled thread
| Started by | Sven <svenito@gmail.com> |
|---|---|
| First post | 2013-03-26 10:07 +0000 |
| Last post | 2013-03-26 10:07 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Processing user input as it's entered Sven <svenito@gmail.com> - 2013-03-26 10:07 +0000
| From | Sven <svenito@gmail.com> |
|---|---|
| Date | 2013-03-26 10:07 +0000 |
| Subject | Processing user input as it's entered |
| Message-ID | <mailman.3726.1364292426.2939.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
Hello, Is there a way (ideally cross platform but a *nix OS solution would be great) to process user input as they type? What I aim to achieve is to count the number of characters a user has entered and display it while they are typing. The entered text will also need to be captured once the user has finished typing. This is a gui-less CLI tool for python 2.7 I've seen some information on tty.setraw but I'm not sure how you'd go about wiring that up. Thanks -- ./Sven
Back to top | Article view | comp.lang.python
csiph-web