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


Groups > comp.lang.python > #2300

Re: Learn Python the Hardway exercise 11 question 4

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!news-transit.tcx.org.uk!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.036
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.04; 'coders': 0.07; '__future__': 0.09; 'braces': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'cheek': 0.16; 'subject:exercise': 0.16; 'tongue': 0.16; 'code': 0.22; 'header:In-Reply-To:1': 0.22; 'subject:question': 0.22; 'emailed': 0.23; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'fri,': 0.29; 'probably': 0.30; 'seem': 0.30; 'difficulty': 0.31; 'semantics': 0.31; 'it.': 0.31; 'import': 0.32; 'to:addr:python-list': 0.32; 'page': 0.33; 'there': 0.35; 'stuck': 0.35; 'think': 0.36; 'should': 0.37; 'received:209.85': 0.37; 'issue': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'reasons': 0.38; 'url:org': 0.38; 'to:addr:python.org': 0.39; 'could': 0.39; 'received:209': 0.39; "it's": 0.40; 'header:Received:5': 0.40; 'address': 0.61; '2011': 0.62; 'share': 0.67; "today's": 0.69; 'received:209.85.210.174': 0.84; 'received:mail-iy0-f174.google.com': 0.84; 'subject:Learn': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Bjo/XdrEJGPy88EHN2cUh/9+ufscvFlB52481O/udFc=; b=wdbu9N+xd0VYaYMcFhnKfqDWld4m8o1qjtjKWDH7ClMrb+U2MPKlQ1fJBPLGZ0rj18 HLsD4MRlS9IKDqiCTQzqHJXFj11zP4dhzcTEjgqrc8lQ7PqLt9HN6k9XSVqXytKnQG7b LMbZ7OqkW64ViLVRy7XgZrYyZvcxuCgEoHQGs=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=p6MQv58aAmDT/eofeIJUP9lNTTbakaAfdqX+FnKn93U25LepoJ7iQdN7HkP2rGHfXM L7NucwAEheukMpoDMnH8nPsVJ+redq1WMH7iDKLO2iSIeKzSdvGXxbVpVnxHoeXZjmUy VIB3SM+WKY940JAvFkelyWifRxyTapd/OUcCQ=
MIME-Version 1.0
In-Reply-To <AANLkTinfn9YCVqa=j-_uXPq_Pz=B7gmfBrvoH4bSpn6+@mail.gmail.com>
References <b2293547-6153-48e6-a208-fca4e439974f@s9g2000yqm.googlegroups.com> <54dde273-0528-4895-97d3-5ed77a0464bb@glegroupsg2000goo.googlegroups.com> <AANLkTi=QSyqmbORQYrdwdYiayQGRGZBSz5eMxKp3PdJn@mail.gmail.com> <AANLkTinfn9YCVqa=j-_uXPq_Pz=B7gmfBrvoH4bSpn6+@mail.gmail.com>
Date Fri, 1 Apr 2011 07:35:42 +1100
Subject Re: Learn Python the Hardway exercise 11 question 4
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.42.1301603750.2990.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 82.94.164.166
X-Trace 1301603751 news.xs4all.nl 81478 [::ffff:82.94.164.166]:47030
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2300

Show key headers only | View raw


On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg <drsalists@gmail.com> wrote:
>
> http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html
>

I was trolling, I know the reasons behind it. Anyway, most people
don't share code by email! (Actually, since you seem to be the author
of that page - could you address that particular point? I think it's
probably as big an issue as any of the others, to today's coders -
"code semantics get destroyed by forums/email/etc/etc/etc".)

Solution: All emailed code should begin with
from __future__ import braces
And there you are, out of your difficulty at once!

Chris Angelico
tongue still firmly stuck in cheek

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


Thread

Re: Learn Python the Hardway exercise 11 question 4 "eryksun ()" <eryksun@gmail.com> - 2011-03-31 09:12 -0700
  Re: Learn Python the Hardway exercise 11 question 4 Chris Angelico <rosuav@gmail.com> - 2011-04-01 03:18 +1100
  Re: Learn Python the Hardway exercise 11 question 4 Chris Angelico <rosuav@gmail.com> - 2011-04-01 07:35 +1100

csiph-web