Search the command history - Python Shell

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Mar 19 16:06:38 EDT 2008


En Wed, 19 Mar 2008 07:07:50 -0300, Tim Chase  
<python.list at tim.thechases.com> escribió:

>> Are there any simillar key combination in Python Shell like Linux Ctrl+R
>> (reverse-i-search) to search the command history?
>
> It must depend on how your version of Python was built...mine
> here on my Linux box has exactly that functionality.  I press ^R
> and start typing, and the line comes up from my typed history.

On Windows you would type a few characters and use F8 and Shift-F8, or F7  
to choose from a pop-up list.

-- 
Gabriel Genellina




More information about the Python-list mailing list