interactive python session spool/save-log command?

Brian van den Broek bvande at po-box.mcgill.ca
Wed Jul 20 22:29:04 EDT 2005


Robert Kern said unto the world upon 2005-07-20 21:15:
> 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/
> 

If your students are more likely to feel comfortable with an interface 
with things right there for the clicking, IDLE allows for the 
interactive prompt windows to be saved. IDLE's bundled with Python, so 
less to install to boot.

Best,

Brian vdB




More information about the Python-list mailing list