Re: the python shell window is already executing a command

2014-09-19 Thread Chris Angelico
On Sat, Sep 20, 2014 at 5:43 AM, Terry Reedy wrote: > On 9/18/2014 10:51 PM, Chris Angelico wrote: >> >> On Fri, Sep 19, 2014 at 5:05 AM, Terry Reedy wrote: >>> >>> A couple more questions; after you run the file once, is there a warning >>> above the first >>> prompt? If, after the program stop

Re: the python shell window is already executing a command

2014-09-19 Thread Terry Reedy
On 9/18/2014 10:51 PM, Chris Angelico wrote: On Fri, Sep 19, 2014 at 5:05 AM, Terry Reedy wrote: A couple more questions; after you run the file once, is there a warning above the first >>> prompt? If, after the program stop and you see a second prompt and run import sys; len(sys.modules), 'a

Re: the python shell window is already executing a command

2014-09-18 Thread Chris Angelico
On Fri, Sep 19, 2014 at 5:05 AM, Terry Reedy wrote: > A couple more questions; after you run the file once, is there a warning > above the first >>> prompt? If, after the program stop and you see a second prompt and run import sys; len(sys.modules), 'array' in sys.modules > what is the

Re: the python shell window is already executing a command

2014-09-18 Thread Seymore4Head
On Thu, 18 Sep 2014 15:05:53 -0400, Terry Reedy wrote: >On 9/18/2014 11:24 AM, Seymore4Head wrote: >> On Wed, 17 Sep 2014 23:50:56 -0400, Terry Reedy >> wrote: > >>> My question was "How do you start Idle?" >>> (I can make a difference.) >> >> The way I start IDLE is to go to my programs folder

Re: the python shell window is already executing a command

2014-09-18 Thread Terry Reedy
On 9/18/2014 11:24 AM, Seymore4Head wrote: On Wed, 17 Sep 2014 23:50:56 -0400, Terry Reedy wrote: My question was "How do you start Idle?" (I can make a difference.) The way I start IDLE is to go to my programs folder and right click on file.py in the directory and select "edit with IDLE".

Re: the python shell window is already executing a command

2014-09-18 Thread Seymore4Head
On Wed, 17 Sep 2014 23:50:56 -0400, Terry Reedy wrote: >On 9/17/2014 9:34 PM, Seymore4Head wrote: >> On Wed, 17 Sep 2014 18:56:47 -0400, Terry Reedy > >>> A little digging with Idle's grep (Find in Files) shows that the message >>> is produced by this code in idlelib/PyShell.py, about 825. >>> >

Re: the python shell window is already executing a command

2014-09-17 Thread Terry Reedy
On 9/17/2014 9:34 PM, Seymore4Head wrote: On Wed, 17 Sep 2014 18:56:47 -0400, Terry Reedy A little digging with Idle's grep (Find in Files) shows that the message is produced by this code in idlelib/PyShell.py, about 825. def display_executing_dialog(self): tkMessageBox.showerr

Re: the python shell window is already executing a command

2014-09-17 Thread Seymore4Head
On Wed, 17 Sep 2014 18:56:47 -0400, Terry Reedy wrote: >On 9/17/2014 11:55 AM, Seymore4Head wrote: >> On Wed, 17 Sep 2014 04:02:16 -0400, Terry Reedy >> wrote: >>> On 9/16/2014 10:17 PM, Seymore4Head wrote: What I do is click on the IDLE window and without making any changes I just hit

Re: the python shell window is already executing a command

2014-09-17 Thread Terry Reedy
On 9/17/2014 11:55 AM, Seymore4Head wrote: On Wed, 17 Sep 2014 04:02:16 -0400, Terry Reedy wrote: On 9/16/2014 10:17 PM, Seymore4Head wrote: What I do is click on the IDLE window and without making any changes I just hit f5 to rerun the program. Sometimes I get the error "the python shell wind

Re: the python shell window is already executing a command

2014-09-17 Thread Seymore4Head
On Wed, 17 Sep 2014 04:02:16 -0400, Terry Reedy wrote: >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 w

Re: the python shell window is already executing a command

2014-09-17 Thread Terry Reedy
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