[Ipython-tickets] [IPython] #234: Use of %edit precludes saving sessions as a worksheet

IPython ipython-tickets@scipy....
Thu Feb 21 15:54:41 CST 2008


#234: Use of %edit precludes saving sessions as a worksheet
---------------------------+------------------------------------------------
 Reporter:  brendanarnold  |       Owner:  fperez                        
     Type:  defect         |      Status:  new                           
 Priority:  normal         |   Milestone:                                
Component:  ipython        |     Version:                                
 Severity:  normal         |    Keywords:  edit multiline session logging
---------------------------+------------------------------------------------
 I'd like to save my iPython workflows into worksheets. I can almost do
 this using the %save command and logging, however the use of the %edit
 command precludes this.

 Say I have defined a function using %edit and I wish to save this to a
 text file, typing %save _N (where N is the line where the %edit command
 returned) creates a blank file.

 Similarly if I log a session with %logstart, even with the output flag on,
 when I %run the saved session again in a fresh iPython window the %edit
 command is re-run (rather than the output which I originally typed being
 included).

-- 
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/234>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list