equivalent of getch

Kaz Kylheku kaz at ashi.FootPrints.net
Wed Aug 25 09:47:37 EDT 1999


On 25 Aug 1999 12:48:40 GMT, Markus Fleck <fleck at informatik.uni-bonn.de> wrote:
>Gurvijay Singh Bhatti <khalsa at acay.com.au> wrote:
>> could someone tell me what is equivalent of getch in jpython? I want the
>> program to wait for the user to hit enter before going forward.
>
>AFAIK, this cannot be done in Java. I would
>be surprised if it could be done in JPython.

Note that waiting for enter doesn't require character-at-a-time input.  There
is no getch() function in C, but if all you want is to wait for enter, you
would use, say, fgets().




More information about the Python-list mailing list