Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.055 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'suggest': 0.14; '"python': 0.16; 'blocking': 0.16; 'idle,': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'trying': 0.19; 'file,': 0.19; 'command': 0.22; 'feb': 0.22; 'shell': 0.22; 'error': 0.23; 'url:home': 0.24; 'mon,': 0.24; 'second': 0.26; 'code:': 0.26; 'header:X-Complaints-To:1': 0.27; 'program,': 0.31; 'code': 0.31; 'firewall': 0.31; 'run': 0.32; 'quite': 0.32; 'open': 0.33; 'says': 0.33; 'url:python': 0.33; 'could': 0.34; 'problem': 0.35; "can't": 0.35; 'but': 0.35; 'there': 0.35; 'idle': 0.36; 'shows': 0.36; 'should': 0.36; 'reports': 0.37; 'seconds': 0.37; 'problems': 0.38; 'to:addr :python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'firm': 0.61; 'first': 0.61; 'you.': 0.62; 'save': 0.62; 'personal': 0.63; 'school': 0.64; 'channels': 0.68; 'results': 0.69; '8bit%:21': 0.69; 'press': 0.70; 'helping': 0.70; 'connection.': 0.74; '2015': 0.84; 'avoids': 0.84; 'can\xe2\x80\x99t': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: __pycache__ Date: Tue, 03 Feb 2015 09:21:01 -0500 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: adsl-108-73-116-218.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422973275 news.xs4all.nl 2886 [2001:888:2000:d::a6]:46373 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85152 On Mon, 2 Feb 2015 23:26:32 +0000, Luke Lloyd declaimed the following: >I am in school and there is a problem with my code: > > > >When I try to run my code in the python code in the python shell it waits >about 10 seconds then shows an error that says “IDLE’s subprocess didn’t >make connection. Either IDLE can’t start a subprocess or personal firewall >software is blocking the connection.” Then when I press OK it just closes. > My first response is: Don't use IDLE, then... Save your file, open a command line window, CD to where ever you saved the program, and type "python your-program.py" That avoids all the problems with IDLE trying to set up communication channels for standard I/O routing. The second is to use Google... https://www.google.com/?gws_rd=ssl#q=python+idle+can%27t+make+connection but the first page of results isn't helping -- lots of reports of the problem, but no firm remedy listed. If you are on a school machine, it is quite likely that a firewall could be affecting you. I don't use IDLE myself, so can't suggest anything deeper -- but a command line should always word for running. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/