0

My Python program has an interactive command line implemented with cmd module.

How can I add commands to cmd history (so that it can be reached by cursor-up shortcut)?

Please, note the program runs on Windows so readline library tricks aren't relevant.

jackhab
  • 17,128
  • 37
  • 99
  • 136

0 Answers0