Saving history in interactive Python

Costas Menico costas at meezon.com
Tue Mar 20 23:48:13 EST 2001


Timothy Grant <tjg at exceptionalminds.com> wrote:

>Is there a way to save the history list in the Python
>interpreter.

You can use IDLE or Pythonwin (Windows) to do that.

It is such a pain using the command line version of Python. If you
make a syntax error you have to retype the whole line. It would be
nice if there was something similar to DOSKEY where you use the up
arrow and view/edit prior lines. 

Costas




More information about the Python-list mailing list