(Console) Up/down arrow search filtered on entered text

Is it possible to filter the console history when using the up/down arrows having already entered some text? This feature is available in pydev and ipython. For example:

In[4]: %history
pylab
myrange = arange(1,100)
plot(sin(myrange))

In[5]: p

Up/down arrows at that point would only cycle through the commands "pylab" and "plot(sin(my range))".

Many thanks in advance,

tambu

Please sign in to leave a comment.