command prompt history filtered by initial letters

MRAB google at
Fri May 1 00:25:20 CEST 2009

limit wrote:
> Oops, pardon the double-post.
> Doesn't python invoke its own shell? On windows I start by running c:
> \WINDOWS\system32\cmd.exe. But then I run 'python' and get the ">>>"
> prompt. The same thing happens from a bash or tcsh shell on Linux,
> right? Are you saying that OS-specific shell capabilities are
> inherited by the python shell?
You're running Python in a console/shell window. Python calls the
console for a line of input and the call doesn't return until the
Enter/carriage return key is pressed. All the fancy history stuff is a
feature of the console, not Python.

More information about the Python-list mailing list