kbhit/getch python equivalent

xDog Walker thudfoo at gmail.com
Tue Apr 30 10:06:34 EDT 2013


On Monday 2013 April 22 06:34, alb wrote:
> Hi everyone,
>
> I'm looking for a kbhit/getch equivalent in python in order to be able
> to stop my inner loop in a controlled way (communication with external
> hardware is involved and breaking it abruptly may cause unwanted errors
> on the protocol).
>
> I'm programming on *nix systems, no need to be portable on Windows.

http://code.activestate.com/search/recipes/#q=getch

-- 
Yonder nor sorghum stenches shut ladle gulls stopper torque wet 
strainers.




More information about the Python-list mailing list