[Tutor] key detection

Jim Mooney Py3.4.3winXP cybervigilante at gmail.com
Tue May 5 23:30:41 CEST 2015


Can python detect a keypress? I've looked all over and can't find it. I
don't mean input('blah') and have to press Enter - just detect it directly
like Javascript does. All I find are references using msvcrt, which is
Msoft specific, or using tkinter - but I don't want a whacking big GUI,
just keypress detection. Can I make a simple keyboard event loop without
tkinter?

-- 
Jim


More information about the Tutor mailing list