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


Groups > comp.lang.python > #65207

Re: Python shell wont open idle or an exisiting py file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'subject:file': 0.07; 'string': 0.09; 'interpreted': 0.09; 'oh,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; "'to": 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reedy': 0.16; 'special.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'right.': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'consequence': 0.31; 'probably': 0.32; 'text': 0.33; 'sense': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'wrong': 0.37; 'pm,': 0.38; 'incoming': 0.72; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=2TrRnhIp07sOJkpI+1iN5MW6QQ/1/IWVkWrFfQriLLo=; b=pQxDVw8Vn8qoZTLP3i5t5tg7SjSGuHuq/7/WsRlpAivEp2uuLQCAcVdZvdttS+qZWU IVEeDLvLnvOudPiEW6B7e+LlQQdJK1hKN3+hmokbQzoOXYvaTv9sImolc8I0CR4pNdOY NeAazfPKeDdV5e2vzHDBSi88ZWBQQO74u6TMvABcZYe00xZLEuYlxVSxkHHi5uYcG9nQ KCGNxSkv85nvWPs+sVWbOrdiLvEBMBF3YGmoGy1ENpuiNfBxTsX7Dq7V3VSd+I/cLPlZ m4dCbKeIQhfWk3bmUN7/NGY/O3/KP8RnNqsm+yMUCRpEuibpEF+qszugjUBUrkBFF7As BkgA==
MIME-Version 1.0
X-Received by 10.68.93.132 with SMTP id cu4mr25495864pbb.129.1391245617319; Sat, 01 Feb 2014 01:06:57 -0800 (PST)
In-Reply-To <lciciu$2v6$1@ger.gmane.org>
References <24EAA33389A147D8BC08B029E2209E16@UserPC> <lcguq4$a3s$1@ger.gmane.org> <lchjk7$8og$1@ger.gmane.org> <CAPTjJmpc6+hSjTy9tn_AMNMVsdnfQh6E+GHx0a=SmJmJ5=5Uvw@mail.gmail.com> <52EC61FF.4060204@mrabarnett.plus.com> <CAPTjJmrPNEvo4D=ZYcFxadAbyYm4+r=c1rAr-Cvpmw2_SDNsTA@mail.gmail.com> <lci1ni$369$2@ger.gmane.org> <CAPTjJmoAf4iZKcbs1XqqyDkfFC=D4wq_BtixYXk=rK6hTXAQnA@mail.gmail.com> <lciciu$2v6$1@ger.gmane.org>
Date Sat, 1 Feb 2014 20:06:57 +1100
Subject Re: Python shell wont open idle or an exisiting py file
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.6273.1391245626.18130.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1391245626 news.xs4all.nl 2841 [2001:888:2000:d::a6]:55801
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:65207

Show key headers only | View raw


On Sat, Feb 1, 2014 at 7:51 PM, Terry Reedy <tjreedy@udel.edu> wrote:
> I should have added 'to C itself', as the string terminator.

Oh, right. Yes, in that sense \0 is special. It's still wrong that an
incoming text string gets interpreted as code, but that's probably
just a consequence of the jump from Python to Tcl.

ChrisA

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


Thread

Re: Python shell wont open idle or an exisiting py file Chris Angelico <rosuav@gmail.com> - 2014-02-01 20:06 +1100

csiph-web