the python shell window is already executing a command

Terry Reedy tjreedy at udel.edu
Wed Sep 17 10:02:16 CEST 2014


On 9/16/2014 10:17 PM, Seymore4Head wrote:
> I have googled for a solution to this problem.  None I have tried
> worked.
>
> I have a very short program that runs for a count of 20 and ends.
> What I do is click on the IDLE window and without making any changes I
> just hit f5 to rerun the program.

Do you mean click on the Idle editor window?

> Sometimes I get the error "the python shell window is already
> executing a command" and sometimes not.
>
> I am using XP and Python 3.4.1.
>
> Is there a way to rerun a program without getting this error?

Normally, hitting f5 kills the previous process if it is still running 
and starts the one in the editor.  Please post a minimal program that 
exhibits the problem.

-- 
Terry Jan Reedy




More information about the Python-list mailing list