Console Input with Validation options
So far, vinput requires that you have pformat installed.
$ git clone https://github.com/tomasvotava/pformat.git
$ cd pformat
$ ./setup.py install
$ git clone https://github.com/tomasvotava/vinput.git
$ cd vinput
$ ./setup.py install
from vinput import vinput, VALID_LIST
answer = vinput("Do you want to quit smoking?",default=None,validation=VALID_LIST,options=["yes","no"])
print("You answered %s."%answer)