getch in python

Jeremy Yallop jeremy at
Tue Sep 3 04:03:49 EDT 2002

* Venkat Venkataraju
| Is there any function that behaves like getch() function in C? 

I'd say that getch() is probably the closest.  It's a method of the
window class in the curses module:

There are some demos that use it in the Demo/curses directory of the
Python distribution.


More information about the Python-list mailing list