[Tutor] Help: how to detect which key is pressed

Asrarahmed Kadri ajkadri at googlemail.com
Sat Oct 7 00:24:01 CEST 2006


I am writing a simple program and in that I want to add some sort of
interactiveness.
I have designed a menu which gives the user an option to select one out of
the following four keys: d, l, n or e.
Can any one tell me how to determine which key has been pressed by the user.

Thanks.
Regards,

Asrar

-- 
To HIM you shall return.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061006/4b0457aa/attachment.htm 


More information about the Tutor mailing list