Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103562

Re: subprocess startup error

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: subprocess startup error
Date 2016-02-27 03:33 -0500
Message-ID <mailman.165.1456562025.20994.python-list@python.org> (permalink)
References <CAFW38mFPYdee0dvmF5655FffxqGT7rpmYU1yMegGf1RSe8a7rg@mail.gmail.com> <CAFW38mHJDNsD48zbiyo3pXMpJJhPSjPvvwCij0-VjozDSuFscw@mail.gmail.com> <napk16$oi5$1@ger.gmane.org> <CAHVvXxRwmaejwnLMXZ-YTqVC=d7PAKABpxrTA3gY9tKmB-dE9Q@mail.gmail.com>

Show all headers | View raw


On 2/26/2016 9:49 AM, Oscar Benjamin wrote:
> On 26 February 2016 at 13:30, Peter Otten <__peter__@web.de> wrote:
>> Shweta Dinnimani wrote:
>>>>
>>>> hello, I'm begineer to python programming.. I had installed python 3.5.1
>>>> version on my windows 7 system. I was fine earlier and now when i was
>>>> trying the programs on string i'm facing the subprocess startup error.
>>>> IDLE is not connecting. And python shell is also not opening. I tried
>>>> uninstalling and installing the python shell but Im facing the
>>>> problem.Please do help me

What do you mean by 'python shell' and how do you uninstall and install it?

>>> forgot to mention..
>>>
>>> i saved my file as string.py since than i'm facing this error
>>
>> Rename that file to something that does not clash with the module names in
>> the standard library, mystring.py for example, and IDLE should work again.
>
> It's ridiculous that it's this easy to accidentally crash IDLE and the
> Python shell.

I agree and hope to fix this for IDLE before the next round of releases. 
Any Python app that does *not* want to import non-stdlib files on 
startup must remove '' from sys.path.  Console python should not be 
affected by files in the current working directory.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: subprocess startup error Terry Reedy <tjreedy@udel.edu> - 2016-02-27 03:33 -0500

csiph-web