[Tutor] key detection

Jim Mooney Py3.4.3winXP cybervigilante at gmail.com
Wed May 6 06:30:12 CEST 2015


On 5 May 2015 at 18:32, Steven D'Aprano <steve at pearwood.info> wrote:

> https://code.activestate.com/recipes/577977-get-single-keypress/


That only has a stub for Linux,  but I found one that does both. Although,
alas, no IOS version:

http://code.activestate.com/recipes/134892-getch-like-unbuffered-character-reading-from-stdin/

Anyway, I set up msvcrt for now until I install linux - I'm not interested
in the program I mentioned, per se, just the error message - mainly to
know, generally, what sort of thing it's choking on. Errors are useful to
know.

-- 
Jim


More information about the Tutor mailing list