python shell that saves history of typed in commands that will persist between reboots

alex23 wuwei23 at gmail.com
Thu Nov 24 22:47:29 EST 2011


Tim Golden <m... at timgolden.me.uk> wrote:
> The interpreter inherits the command shell's history function:
> Open a cmd window and then a Python session. Do some stuff.
>
> Ctrl-Z to exit to the surrounding cmd window.
> Do some random cmd stuff: dir, cd, etc.
>
> Start a second Python session. up-arrow etc. will bring back
> the previous Python session's commands (and not the ones you
> entered in the surrounding shell)

This isn't true, at least not for ActivePython 2.7.2.5 under Windows
7-64. The second session has no history whatsoever.



More information about the Python-list mailing list