Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!panix5.panix.com!not-for-mail From: aahz@pythoncraft.com (Aahz) Newsgroups: comp.lang.python Subject: Re: Dump interpreter history? Date: 11 Apr 2011 08:54:06 -0700 Organization: The Cat & Dragon Lines: 16 Message-ID: References: NNTP-Posting-Host: panix5.panix.com X-Trace: reader1.panix.com 1302537246 16739 166.84.1.5 (11 Apr 2011 15:54:06 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 11 Apr 2011 15:54:06 +0000 (UTC) Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:2982 In article , Ken D'Ambrosio 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@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