Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'editor.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:command': 0.09; 'window?': 0.09; 'worked.': 0.09; 'runs': 0.10; 'python': 0.11; 'jan': 0.12; 'changes': 0.15; '10:17': 0.16; 'googled': 0.16; 'normally,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:already': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'starts': 0.20; 'shell': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'getting': 0.31; 'running': 0.33; 'minimal': 0.33; 'not.': 0.33; '"the': 0.34; 'subject:the': 0.34; 'problem.': 0.35; 'editor': 0.35; 'there': 0.35; 'executing': 0.36; 'idle': 0.36; 'sometimes': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'short': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'making': 0.63; 'click': 0.77; 'received:fios.verizon.net': 0.84; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: the python shell window is already executing a command Date: Wed, 17 Sep 2014 04:02:16 -0400 References: <4jrh1adtbsvnr9o20r9k3hfe4nkrkps2dk@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-108-16-203-145.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <4jrh1adtbsvnr9o20r9k3hfe4nkrkps2dk@4ax.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1410940978 news.xs4all.nl 2938 [2001:888:2000:d::a6]:51830 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77952 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