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


Groups > comp.lang.python > #85176

Re: __pycache__

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'section,': 0.09; 'solution,': 0.09; 'windows,': 0.09; 'python': 0.11; 'jan': 0.12; 'blocking': 0.16; 'idlelib': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'shell': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'least': 0.26; 'code:': 0.26; 'developing': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; '(this': 0.29; 'code': 0.31; 'doc': 0.31; 'firewall': 0.31; 'option.': 0.31; 'file': 0.32; 'run': 0.32; 'says': 0.33; 'running': 0.33; 'problem': 0.35; 'case,': 0.35; 'add': 0.35; 'there': 0.35; 'idle': 0.36; 'shows': 0.36; 'seconds': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'personal': 0.63; 'school': 0.64; '8bit%:21': 0.69; 'press': 0.70; 'connection.': 0.74; 'can\xe2\x80\x99t': 0.84; 'developed.': 0.84; 'received:fios.verizon.net': 0.84; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: __pycache__
Date Tue, 03 Feb 2015 17:01:34 -0500
References <CAG+_XL-8cdKtRHGcgwT8wfP2j5bZBj3niskq-iCaGyzvH5wm2A@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Gmane-NNTP-Posting-Host pool-108-16-203-145.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <CAG+_XL-8cdKtRHGcgwT8wfP2j5bZBj3niskq-iCaGyzvH5wm2A@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18442.1423000905.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1423000905 news.xs4all.nl 2945 [2001:888:2000:d::a6]:42396
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85176

Show key headers only | View raw


On 2/2/2015 6:26 PM, Luke Lloyd wrote:
> 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.

Idle is intended for developing code, not running code that you have 
already developed.  (Though there are cases, at least on Windows, where 
it is better for running programs than python in a console.)

In any case, a solution, given is the Idle doc section, is to start Idle 
with the -n option.

python -m idlelib -n

add '-r x.y' to run an existing python file (this is missing from the 
doc section and needs to be added).


-- 
Terry Jan Reedy

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


Thread

Re: __pycache__ Terry Reedy <tjreedy@udel.edu> - 2015-02-03 17:01 -0500

csiph-web