[IPython-user] history and cpaste/edit
Sun Mar 22 10:27:05 CDT 2009
> [~]|3> cpaste
> Pasting code; enter '--' alone on the line to stop.
> [~]|4> print pasted_block
> [~]|5> edit pasted_block
This is not what i wanted. I want the pasted code to show up in the history,
so i can save it with the other stuff i wrote before/after pasting. At the
moment i have to replace lines like "_ip.magic("cpaste ")" manually with the
pasted code. It can be very annoying when you paste many code snippets and
write some code in between them.
Anyway thank you for you tip.
More information about the IPython-user