History for Command Line Program
Curtis Jensen
cjensen at bioeng.ucsd.edu
Thu Sep 21 10:59:26 EDT 2000
I've built a command line driven program. We'd like to put a history
option in it. We want to be able to press the up arrow and it will give
us the last command typed, and consequent up arrow presses will give the
one before that, and so on (Similar to the Bash shell). We don't have
the curses module intalled. Is there a way I could capture the up
arrow, without the curses module? Thanks.
--
Curtis Jensen
cjensen at bioeng.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451
More information about the Python-list
mailing list