[Tutor] Linux verson of msvcrt
Lloyd Kvam
pythontutor@venix.com
Mon, 10 Jun 2002 09:26:33 -0400
http://mail.python.org/pipermail/tutor/2002-April/013989.html
[Tutor] program to count keys with timer display and clock display
I asked a somewhat similar question back in April. This response from Paul
was quite helpful. It use PyGame.
Alan Gauld also supplied a refernce to his website
pointing out how to use TKinter for processing the keystrokes.
Josh Gregorio wrote:
> What is the GNU/Linux/Unix equivalent to
> import msvcrt
> msvcrt.getch() ?
>
> I found the windows version in the docs because I knew what to look
> for--but I can't find how to getch() from Linux. Is there a way to use
> getch() (or something else that will wait for the user to press some
> key) that works the same in Windows and GNU/Linux?
>
> Thanks,
> Josh
>
> ps Does anyone have any tips for searching documentation when you don't
> know the proper names for what you are looking for?
>
>
>
>
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358
voice:
603-443-6155
fax:
801-459-9582