unbuffered input

michael young mhyoung at valdosta.edu
Thu Feb 5 21:20:27 CET 2004


Hi,
   I have a numbered menu that I want users to from. They choose the
number corresponding to the action they wish to take.
Right now I'm using input() to get the user's responce. They press the
number then press ENTER. I would like to skip the
part where they press ENTER, so that the user presses the number and
then they get the action they chose without having
to press ENTER. Is there a way to do this and how?

thank you for you time,
          Michael Young






More information about the Python-list mailing list