On Fri, 25 Mar 2011 17:03:55 -0400, 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. > > Can this be done? > > Thanks! > > -Ken
import readline readline.write_history_file([filename]) -- http://mail.python.org/mailman/listinfo/python-list