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!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'subject:Python': 0.06; 'ascii': 0.09; 'subject:language': 0.09; 'windows,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:programming': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'thu,': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'source': 0.25; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'no,': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; '12,': 0.39; 'secret': 0.74; '2013,': 0.91; 'to:none': 0.92; '2013': 0.98 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:content-transfer-encoding; bh=8Xj95NmEd0gSAoPPqI+4daYBqW4cKoeC2MhBDeYhv0w=; b=vaoXi9g+u4IWB+RUnAzz1RUB+ipYIBYvfBAiKnzWGM5gw7WkkmPsv5dZC8wsjsTTQL 8sGTg62CDEu/vWXNwS/Jf+IJ6fuW/RdtSumKpEnK+vr4R9Izx6CUKKQqQGewxkcHy/lf OMiNvHPECAP9zOdLi46p4UMrXd7XlzxAL5aRLsZeI0A8fQp+ke5l7zhx5X65B2Ks7lrL CGUR7wlZH9QNgNM4UKW5uchluLjZ6StatBE2JCjmh07YpX8r7ZVtZeuG2I29WHh0Ruff DO2PQUA0yh1bnig0VvLHScXxzafmcN+P3qCwtRGi3035Me0e8cZfkOXBucMzRRWyvCIu MyiQ== MIME-Version: 1.0 X-Received: by 10.68.228.97 with SMTP id sh1mr10657914pbc.50.1386844115516; Thu, 12 Dec 2013 02:28:35 -0800 (PST) In-Reply-To: References: <201312090824.25211.gheskett@wdtv.com> <52A78F6F.3060507@stoneleaf.us> Date: Thu, 12 Dec 2013 21:28:35 +1100 Subject: Re: Experiences/guidance on teaching Python as a first programming language From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386844124 news.xs4all.nl 2871 [2001:888:2000:d::a6]:39995 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61693 On Thu, Dec 12, 2013 at 8:17 PM, wrote: > Windows, Py2.(7), ascii. It is not a secret Python uses > ascii for the representation. Actually no, it doesn't. Python 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on win32 >>> s =3D "abcd\xa9" >>> print(s) abcd=C2=A9 The copyright symbol is not in ASCII. Are you suggesting that Python uses a 7-bit internal representation of this data? Because a quick squiz at the source code will prove that wrong. This is not ASCII. ChrisA