raw terminal input

Chris Liechti cliechti at gmx.net
Mon Aug 5 16:38:01 EDT 2002

wouter at voti.nl (Wouter van Ooijen) wrote in 
news:3d4e8cb7.26763153 at news.xs4all.nl:

> I try to write a simple TTY program, so I need to get each keystroke
> from the keyboard. Is there a way to do this (windows, linux, portable
> would be even nicer).

i mad up the following code for win32 and unix, based on the python FAQ:
(one line ;-)



Chris <cliechti at gmx.net>

More information about the Python-list mailing list