question: reading character for character from stdin

K

KwikRick

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
 
C

Christos TZOTZIOY Georgiou

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top