command CHOICE in DOS batch replacement/reproduction in python
- by LtPinback
I want to reproduce the behavior of the command CHOICE in DOS batch but with python.
raw_input requires the user to type whatever then press the ENTER/RETURN key. What I really want is for the user to press a single key and the script to continue from there.