[IPython-user] history and cpaste/edit

Ville M. Vainio vivainio@gmail....
Thu Mar 19 14:02:52 CDT 2009

On Thu, Mar 19, 2009 at 3:15 PM,  <humbaba@gmx.net> wrote:

> Is there a way to let the commands that i enter via %cpaste or %editor show up in history. My workflow is often as follows (for data analysis):
> -insert code snippets from other programm via %cpaste or %editor
> -plot some results
> -if i like them, save the log via %edit 1-lastline

[~]|3> cpaste
Pasting code; enter '--' alone on the line to stop.
[~]|4> print pasted_block

[~]|5> edit pasted_block

Ville M. Vainio

More information about the IPython-user mailing list