Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > question: reading character for character from stdin

Thread Tools

question: reading character for character from stdin

Posts: n/a
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.


Reply With Quote
Christos TZOTZIOY Georgiou
Posts: n/a
On Fri, 22 Aug 2003 17:03:31 GMT, rumours say that KwikRick
<(E-Mail Removed)> 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
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
peek at stdin, flush stdin Johnathan Doe C Programming 5 05-17-2013 04:30 PM
How to pass stdin of a C++ program to the stdin of a process createdwith ShellExecute() Ben C Programming 2 08-29-2009 09:47 PM
Reading from stdin then launching a program that reads from stdin strange behaviour Stefano Sabatini Perl Misc 6 07-29-2007 10:38 PM
reading character from stdin Mike C++ 3 03-22-2006 08:50 AM
Reading stdin once confuses second stdin read Charlie Zender C Programming 6 06-21-2004 01:39 PM