question: reading character for character from stdin

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KwikRick

    question: reading character for character from stdin

    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

  • Christos TZOTZIOY Georgiou

    #2
    Re: question: reading character for character from stdin

    On Fri, 22 Aug 2003 17:03:31 GMT, rumours say that KwikRick
    <kwkikrick@free mail.nl> might have written:
    [color=blue]
    >I'll stick with curses. Thanks.[/color]

    Do that for *nix systems... and I believe there has been a conio (or
    something alike) module for windows. Try googling comp.lang.pytho n in
    groups.google.c om.
    --
    TZOTZIOY, I speak England very best,
    Microsoft Security Alert: the Matrix began as open source.

    Comment

    Working...