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

Forum statistics

Threads
473,780
Messages
2,569,610
Members
45,255
Latest member
TopCryptoTwitterChannels

Latest Threads

Top