This article was originally published by Python Magazine in
February of 2008.
IPython and virtualenv | And Now For Something Completely Different
Listing6.py
#log# Automatic Logger file. *** THIS MUST BE THE FIRST LINE ***
#log# DO NOT CHANGE THIS LINE OR THE TWO BELOW
#log# opts = Struct({'__allownew': True, 'logfile': 'ipython_log.py'})
#log# args = []
#log# It is safe to make manual edits below here.
#log#-----------------------------------------------------------------------
5*5
In[1]
_1
Out[3]
_4 * 5
_ip.magic("logstart ")
a = 5
b = 6
c = a * b
c
d = [a, b, c]
d