[Tutor] (no subject)

alan.gauld@bt.com alan.gauld@bt.com
Mon, 27 Nov 2000 17:20:04 -0000

> i was wondering if its possible in python to be able to read 
> the keystrokes from a keyboard??

Yes but it's platform dependent at present.

A Tkinter solution is presented in my tutor:


Look under Advanced Topics at "Event Driven Systems"
the second example.

The msvcrt(sp?) module does it for Windoze, curses does 
it on *nix


Alan g.