Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #85176 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2015-02-03 17:01 -0500 |
| Last post | 2015-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.
Re: __pycache__ Terry Reedy <tjreedy@udel.edu> - 2015-02-03 17:01 -0500
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-02-03 17:01 -0500 |
| Subject | Re: __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
Back to top | Article view | comp.lang.python
csiph-web