Dump interpreter history?

Terry Reedy tjreedy at udel.edu
Mon Apr 11 13:32:12 EDT 2011

On 4/11/2011 11:54 AM, Aahz wrote:
> In article<mailman.1266.1301087057.1189.python-list at python.org>,
> Ken D'Ambrosio<ken at jots.org>  wrote:
>> Hey, all.  A co-worker asked me a question, and I've got no idea how (or
>> if) it can be done.  Bottom line: he'd like to save off the text from an
>> interpreter session, his thinking being that you've already tried to get
>> what you want, and now you just need to gussy it up in an editor.
> I've never used it myself, but IIRC ipython does what you want very
> nicely.

Idle will save the contents of the shell window, including opening slash 
line and prompts.

Terry Jan Reedy

More information about the Python-list mailing list