[SciPy-user] shell for scipy

Fernando Perez scipy-user@scipy.net
Tue, 4 Feb 2003 11:33:20 -0700 (MST)


On 31 Jan 2003, bryan cole wrote:

> OK, I've taken a closer look at ipython and I see I can acheive 'code
> block' editing using the @edit magic function. Looks like I'm now an
> ipython convert :)

Also look at @macro and @save, which allow you to respectively re-execute and 
save chunks of code you've typed interactively.  You can select non-contiguous 
sets of lines in your input history to assemble on the fly code snippets for 
quick re-execution.  I use @macro a lot when doing interactive work to make 
single letter aliases for chunks of code I need to rerun many times.

Cheers,

f.