Dos cursor and input management.

Sean Murphy mhysnm1964 at gmail.com
Sun Jan 5 04:25:11 EST 2014


Hi all.

I am after a module that manages keyboard input. I am aware of raw_input for python 2.x and input for 3.x. They don't quite achieve what I want.

I want to except a single key without printing it to the screen and then the key would perform an action. Sudo code:

print line of text
wait for key press
If key press equals delete line.
  Delete list element.
else if key press equals edit
  display line for interactive edit.
else
  move to next line


The module must work under dos for now. Eventually Mac.

Sean 


More information about the Python-list mailing list