I'd like to know the simplest way to bind keys in python
for example, the default python console window apears and waits, then in psuedo ->
if key "Y" is pressed:
   print ("Yes")
if key "N" is pressed:
   print ("No")
I would like to achieve this without the use of any modules not included by python. just pure python
Any and all help is greatly appreciated
python 2.7 or 3.x Windows 7
Note: raw_input() requires the user to hit enter and is therefore not keybinding
 
     
     
     
     
    