Dump interpreter history?

Aahz aahz at pythoncraft.com
Mon Apr 11 11:54:06 EDT 2011


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.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"
--Michael Foord paraphrases Christian Muirhead on python-dev, 2009-03-22



More information about the Python-list mailing list