question: reading character for character from stdin

Discussion in 'Python' started by KwikRick, Aug 22, 2003.

  1. KwikRick

    KwikRick Guest

    Is there a simple way to read from stdin without having to wait for an
    enter keypress, i.e. like getch() in the curses module.
    I'd rather not use curses because it isn't supported on all platforms.

    Rick
    KwikRick, Aug 22, 2003
    #1
    1. Advertising

  2. On Fri, 22 Aug 2003 17:03:31 GMT, rumours say that KwikRick
    <> might have written:

    >I'll stick with curses. Thanks.


    Do that for *nix systems... and I believe there has been a conio (or
    something alike) module for windows. Try googling comp.lang.python in
    groups.google.com.
    --
    TZOTZIOY, I speak England very best,
    Microsoft Security Alert: the Matrix began as open source.
    Christos TZOTZIOY Georgiou, Aug 22, 2003
    #2
    1. Advertising

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. Johnathan Doe

    peek at stdin, flush stdin

    Johnathan Doe, May 15, 2004, in forum: C Programming
    Replies:
    5
    Views:
    24,934
    Chatoyer
    May 17, 2013
  2. Charlie Zender

    Reading stdin once confuses second stdin read

    Charlie Zender, Jun 19, 2004, in forum: C Programming
    Replies:
    6
    Views:
    783
    Dan Pop
    Jun 21, 2004
  3. Mike
    Replies:
    3
    Views:
    431
  4. Ben
    Replies:
    2
    Views:
    1,337
    jacob navia
    Aug 29, 2009
  5. Stefano Sabatini
    Replies:
    6
    Views:
    289
    Stefano Sabatini
    Jul 29, 2007
Loading...

Share This Page