equivalent of "getch" of C

Kaz Kylheku kaz at ashi.FootPrints.net
Wed Aug 25 04:16:56 CEST 1999


On Wed, 25 Aug 1999 01:13:18 GMT, singhbhattig at my-deja.com
<singhbhattig at my-deja.com> wrote:
>Hello,
>
>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
environment.

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




More information about the Python-list mailing list