On 05/01/2014 09:25, Sean Murphy wrote:
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


I think you're looking for something like this https://github.com/jmcb/python-pdcurses

--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to