equivalent of "getch" of C

Kaz Kylheku kaz at ashi.FootPrints.net
Tue Aug 24 22:16:56 EDT 1999

On Wed, 25 Aug 1999 01:13:18 GMT, singhbhattig at my-deja.com
<singhbhattig at my-deja.com> wrote:
>What is equivalent of getch in jpython, if any.

Doh, C has no getch function. This is a platform-specific extension
supported by some C compilers.

Specifically, the libraries that come with some MS-DOS compilers have a getch()
function that is declared in the <conio.h> header which is specific to that

There is also a getch() function in the curses library.

More information about the Python-list mailing list