Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: subprocess startup error Date: Sat, 27 Feb 2016 03:33:14 -0500 Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de rgxIhIvXQDLB2SLzvQKF2QPVvRxsnaYj9q+TvIZCj7/w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'startup': 0.05; "'python": 0.07; '*not*': 0.07; 'rename': 0.07; 'benjamin': 0.09; 'opening.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'jan': 0.11; 'subject:error': 0.11; '2016': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'subprocess': 0.16; 'uninstall': 0.16; 'uninstalling': 0.16; 'wrote:': 0.16; 'app': 0.16; 'string': 0.17; 'directory.': 0.18; 'library,': 0.18; 'shell': 0.18; '>>>': 0.20; 'windows': 0.20; 'fix': 0.21; 'affected': 0.22; 'trying': 0.22; 'am,': 0.23; 'forgot': 0.23; 'tried': 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'header:X -Complaints-To:1': 0.26; 'earlier': 0.27; 'error': 0.27; 'fine': 0.28; 'accidentally': 0.29; 'crash': 0.29; "i'm": 0.30; 'error.': 0.31; 'idle': 0.33; 'file': 0.34; 'next': 0.35; 'installing': 0.35; 'saved': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'received:org': 0.37; 'version': 0.38; 'names': 0.38; 'files': 0.38; 'mean': 0.38; 'does': 0.39; 'system.': 0.39; 'to:addr:python.org': 0.40; 'hello,': 0.40; 'easy': 0.60; 'hope': 0.61; 'programs': 0.62; 'received:96': 0.63; '3.5.1': 0.84; 'oscar': 0.84; 'otten': 0.84; 'received:fios.verizon.net': 0.91; 'releases.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-96-227-207-81.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103562 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