Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.065 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'subject:file': 0.07; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'stuff.': 0.16; 'subject:arithmetic': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'normally': 0.19; 'thu,': 0.19; '>>>': 0.22; 'code,': 0.22; 'example.': 0.24; 'fine': 0.24; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'skip:- 40': 0.29; 'am,': 0.29; "doesn't": 0.30; 'needed.': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'file': 0.32; 'figure': 0.32; 'date:': 0.34; "can't": 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'but': 0.35; 'received:google.com': 0.35; '+0100': 0.36; 'list': 0.37; 'email addr:python.org': 0.37; 'received:209': 0.37; 'to:addr:python- list': 0.38; 'explain': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'tell': 0.60; "you're": 0.61; 'email addr:gmail.com': 0.63; 're:': 0.63; 'email name:python-list': 0.65; 'obvious': 0.74; 'episode': 0.84; 'carlos': 0.91; '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:to :content-type; bh=lekrWQkFeu5Vj70DFJ2cBBX+y0eQ2ixCF6VR2F71MoE=; b=OtEh7wyyWGWfE0mDvfXgrV/ZRRgq01HQpzoEVTNWT2Ll/CcY0taViAMTa7Uthkptdr zF9jH+VMiqrkMgbzyci+1HKaBPBKHZdMPR0yaw+68V8+Pg3gR+fr3PVJz0O5ZV0VEJ6J qwe/BA7PQ3gTq0UbHbU9XgA7BJ8fGJOaWcW7we9y/WaImNY+58lAVKB7P5BVrWZk49wb THEag6WPZW1UGYFIpN2vTTGRohd2o25p1DLZcUqo9OugN1lGOoKxYl4QXez3aLjlIN17 F4+jYGfRN8kf9pu19fWmq7C/xyTfl6ngPPIypjBHK7fvsoeokz1vQ7r1KHWCFRdJik8Y BCJg== MIME-Version: 1.0 X-Received: by 10.52.175.200 with SMTP id cc8mr4193061vdc.94.1369308951037; Thu, 23 May 2013 04:35:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 May 2013 21:35:50 +1000 Subject: Re: file I/O and arithmetic calculation From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369308959 news.xs4all.nl 15885 [2001:888:2000:d::a6]:40372 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45799 On Thu, May 23, 2013 at 10:37 AM, Carlos Nepomuceno wrote: > ---------------------------------------- >> From: oscar.j.benjamin@gmail.com >> Date: Thu, 23 May 2013 01:34:37 +0100 >> Subject: Re: file I/O and arithmetic calculation >> To: carlosnepomuceno@outlook.com >> CC: python-list@python.org >> >> On 23 May 2013 00:49, Carlos Nepomuceno wrote: >>> >>> The code is pretty obvious to me, I mean there's no obfuscation at all. >> >> I honestly can't tell if you're joking. > > I'm not! lol Reminds me of an episode of BBT where Sheldon's trying to figure out sarcasm. Leonard: Sheldon: "Was that sarcasm?" Leonard: "Noooooo..." Sheldon: "Was THAT sarcasm?" Leonard: -- no answer needed. Normally don't do this much list comprehension in an example. It may be fine for the code, but it doesn't help explain stuff. :) ChrisA