Remembering History in code.InteractiveConsole

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Spencer

    #1

    Remembering History in code.InteractiveConsole

    I'd like to make code.Interactiv eConsole function just like the normal
    Python console. However, when I try to use the arrow keys to recall
    command history, all I get is ^[[A^[[B. I've seen the example at

    but this doesn't seem to work at all, although I don't really want to
    persist command history across sessions anyways. Is it possible to
    remember command history with IC? I'm on Linux. Any help is appreciated.

    Thanks,
    Chris
Working...