Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78087
| References | (5 earlier) <mailman.14096.1411012292.18130.python-list@python.org> <22ul1a9bfsehco2kk5jb0uif8mpm33ue37@4ax.com> <lvfaf6$sbk$1@ger.gmane.org> <CAPTjJmrm9FRgQ0qFxRuGJ6Ty6CPPhznk30=BXJL7EhHL0P5P9w@mail.gmail.com> <lvi11v$89c$1@ger.gmane.org> |
|---|---|
| Date | 2014-09-20 05:47 +1000 |
| Subject | Re: the python shell window is already executing a command |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14153.1411156063.18130.python-list@python.org> (permalink) |
On Sat, Sep 20, 2014 at 5:43 AM, Terry Reedy <tjreedy@udel.edu> wrote: > On 9/18/2014 10:51 PM, Chris Angelico wrote: >> >> On Fri, Sep 19, 2014 at 5:05 AM, Terry Reedy <tjreedy@udel.edu> 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 result? >> >> >> What's significant about the array module here? I'm a little puzzled. > > > 'array' is alphabetically the first module imported in the default > two-process mode but not in the one-process mode selected by a command line > '-n'. To the best of my understanding, the message reported, which I found > in the code, should only appear in one-process mode. > > Seymour reported that he started Idle by right-clicking on the file and > selecting 'Edit with Idle'. Asking the above question is easier then trying > to get him to directly determine what command line is associated with 'Edit > with Idle' on his particular machine. Ah! Nice one. :) Get the info you want with a very simple copy/paste line of code. Cryptic, but effective. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-16 22:17 -0400
Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-17 04:02 -0400
Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-17 11:55 -0400
Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-17 18:56 -0400
Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-17 21:34 -0400
Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-17 23:50 -0400
Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-18 11:24 -0400
Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-18 15:05 -0400
Re: the python shell window is already executing a command Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-18 15:58 -0400
Re: the python shell window is already executing a command Chris Angelico <rosuav@gmail.com> - 2014-09-19 12:51 +1000
Re: the python shell window is already executing a command Terry Reedy <tjreedy@udel.edu> - 2014-09-19 15:43 -0400
Re: the python shell window is already executing a command Chris Angelico <rosuav@gmail.com> - 2014-09-20 05:47 +1000
Re: the python shell window is already executing a command Tony the Tiger <tony@tiger.invalid> - 2014-09-18 16:50 +0000
csiph-web