In <[email protected]> "Ken D'Ambrosio" 
<[email protected]> writes:

> 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.

If you're running on a unix system, run the "script" command before
starting the interpreter.  Then when you're finished with the interpreter,
type "exit" to end the script session.  This will create a file named
"typescript" containing all of the input and output which occurred.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to