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


Groups > comp.lang.python > #85176 > unrolled thread

Re: __pycache__

Started byTerry Reedy <tjreedy@udel.edu>
First post2015-02-03 17:01 -0500
Last post2015-02-03 17:01 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#85176 — Re: __pycache__

FromTerry Reedy <tjreedy@udel.edu>
Date2015-02-03 17:01 -0500
SubjectRe: __pycache__
Message-ID<mailman.18442.1423000905.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web