Mailing List Archive

equivalent of "getch" of C
Hello,

What is equivalent of getch in jpython, if any.

thanks

GSB


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
equivalent of "getch" of C [ In reply to ]
On Wed, 25 Aug 1999 01:13:18 GMT, singhbhattig@my-deja.com
<singhbhattig@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.