[IPython-dev] %history and %rep

Ville M. Vainio vivainio at gmail.com
Thu May 24 14:53:06 EDT 2007

Here's an idea for uber replacement for %r:

%hist string

=> show list of history elements that match the pattern "string"

%rep 43

=> Run / get for editing line 43

%rep 3-5 7-8

run those lines. Like macro without, er, the macro.

Speaking of which, I'd also like to nuke / deprecate %history and
leave only %hist, in the name of general magic namespace depollution.

Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

More information about the IPython-dev mailing list