interactive python session spool/save-log command?

Robert Kern rkern at ucsd.edu
Wed Jul 20 21:15:05 EDT 2005


S. M. Tuttle wrote:
> I'm going to be teaching an introductory course on Python
> in the Fall, so I am hurriedly trying to both learn
> Python and prepare the course during the next few weeks.
> 
> I'm curious if there is a command that allows everything from
> that point on in a python interactive session to be
> saved/spooled/forked/logged into a text file of the user's choice.

IPython is an interactive interpreter that will log all input to a file.

http://ipython.scipy.org/

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list