Pythonwin interactive window editing?

zzzzz zzizz_ at notmail.com
Sun Apr 15 20:59:53 EDT 2001


On Fri, 13 Apr 2001 13:11:25 -0700, Paul Prescod
<paulp at ActiveState.com> wrote:

>scott wrote:
>>Previously (an hour ago) I used the history feature of IDLE 0.6 that
>>came with BeOpen Python 2.0 to recall previous commands (Alt-p etc). Is
>>something like this available in the Pythonwin interactive window? 

>Use your up and down arrow keys and then hit "enter" when you get to the
>line you want to reuse.

Also you can use ctrl up/down for history and command completion,
eg) if you previously typed:
>>>x=[1,2,3,4]
>>>...other stuff...
>>>x=5*math.sin(45*math.pi/180)
>>>...other stuff...
you can then type:
>>>x=5 <ctrl-up>
to bring up the second one, 
if you already know about command completion please disregard.




More information about the Python-list mailing list