Processing user input as it's entered

Discussion in 'Python' started by Sven, Mar 26, 2013.

  1. Sven

    Sven Guest

    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
     
    Sven, Mar 26, 2013
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. TN Bella
    Replies:
    1
    Views:
    1,753
    TN Bella
    Jul 1, 2004
  2. =?Utf-8?B?dmluZWV0YmF0dGE=?=

    How to access values entered in User control in the main page.

    =?Utf-8?B?dmluZWV0YmF0dGE=?=, Nov 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    669
  3. Dan
    Replies:
    2
    Views:
    715
  4. =?Utf-8?B?V2ViTWF0cml4?=

    Retrieving data entered by user from Repeater Control

    =?Utf-8?B?V2ViTWF0cml4?=, Dec 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    540
    John Saunders
    Dec 11, 2004
  5. SSS
    Replies:
    4
    Views:
    557
  6. M
    Replies:
    9
    Views:
    623
    wayne
    Nov 16, 2006
  7. Ian M. Asaff

    last-input entered on command line

    Ian M. Asaff, Nov 25, 2010, in forum: Ruby
    Replies:
    0
    Views:
    210
    Ian M. Asaff
    Nov 25, 2010
  8. Luke Matuszewski
    Replies:
    8
    Views:
    272
    Luke Matuszewski
    Apr 22, 2006
Loading...