Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.08; '>>>>': 0.09; 'lawrence': 0.09; 'am,': 0.12; 'win32': 0.12; '16,': 0.15; '"copyright",': 0.16; '"credits"': 0.16; '"license"': 0.16; '"w")': 0.16; '2.7.2': 0.16; 'from:addr:alec.taylor6': 0.16; 'from:name:alec taylor': 0.16; 'syntaxerror:': 0.16; 'cc:addr:python-list': 0.16; 'syntax': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'cc:no real name:2**0': 0.21; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'cc:2**0': 0.26; 'invalid': 0.28; 'bit': 0.28; 'message- id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'fri,': 0.34; 'file': 0.34; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'type': 0.61; 'more': 0.61; '2012,': 0.84; 'to:addr:yahoo.co.uk': 0.91 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:to :cc:content-type:content-transfer-encoding; bh=lbzz7rPfLTfcseIq4Qa4gn0qgWq/FLIrFkL1UbtS5M4=; b=mxj4qgI9Xp9p7buwY58424pp/awhzEeewp/T+QhoZ4frg3fFyysyU5/bVCC9fy3HvD RCIvAv+jhEIjc/FFS2KLe/zL5Xkwpa8j59KBLNNuKJtzfJE8eaYI10p3VqmUm91OcR1F Ys/nB8nhXdWYWKBe1uZfbvoPTsf7keRSvdYPWiAFW3YXp15AwgrAwaIgUK8j++p2a4Mg a3PNMgK2X5CPS5jTFICGjm3Bb+fc82g3GEDZes0ziCfTjeoaIPQ7TUpMT2Ff99BmV6yb ChZTQQ/lDDCcmpIRjG4LJMj9MdD6kHKg63fa7Ihf8EKKTHOUyTyJbfmCyuz5rNkpmXok k4GA== MIME-Version: 1.0 In-Reply-To: References: <4f612b19$0$1379$4fafbaef@reader2.news.tin.it> <8e72d74f-c844-4de3-8a37-f6b1fdc2291f@y27g2000yqy.googlegroups.com> <50e9ceec-40f1-4ead-b2b6-87328b30d084@ow8g2000pbc.googlegroups.com> <4f61c828$0$1390$4fafbaef@reader2.news.tin.it> <4f61d728$0$1375$4fafbaef@reader2.news.tin.it> Date: Fri, 16 Mar 2012 01:17:49 +1100 Subject: Re: Python is readable From: Alec Taylor To: Mark Lawrence Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1331821072 news.xs4all.nl 6923 [2001:888:2000:d::a6]:44416 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21671 On Fri, Mar 16, 2012 at 1:06 AM, Mark Lawrence wr= ote: > Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]= on > win32 > Type "help", "copyright", "credits" or "license" for more information. > >>>> with open("filename", "w") as f > =A0File "", line 1 > > =A0 =A0with open("filename", "w") as f > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^ > SyntaxError: invalid syntax > > -- > Cheers. > > Mark Lawrence. > Erred for me also; but under f: Python 2.7.3rc1 (default, Feb 24 2012, 21:28:59) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> with open("filename", "w") as f File "", line 1 with open("filename", "w") as f ^ SyntaxError: invalid syntax