getting a key without an echo and Enter

Gang Seong Lee gslee111 at daisy.kwangwoon.ac.kr
Sun Apr 2 20:57:00 EDT 2000


Hi,

How can I get a key input without having it echoed.
The following statement echoes and waits until I press Enter key.

ch = sys.stdin.read(1)

Can I get the key as soon as I press it without an echo. (No Enter key)

Thanks in advance

Gang






More information about the Python-list mailing list