Keyboard input

Mr.SpOOn mr.spoon21 at gmail.com
Fri Jan 29 11:53:43 EST 2010


Hi,
I need to get keyboard input in a python program. I need it to let the
user choose some options, for example:

1) option 1
2) option 2
3) option 3

and then to input some data to the program.

I'm using the raw_input method and it works fine, but I noted that I
can't use backspace and when I accidentally press shift space (because
I need to input uppercase letters separated by a space) it writes some
strange characters.

So, is there another way to get keyboard input?

Thanks,
Carlo



More information about the Python-list mailing list