Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; '-0700': 0.07; 'hettinger': 0.07; 'recipe': 0.07; 'python': 0.07; 'url:activestate': 0.09; 'pm,': 0.11; 'url:code': 0.11; 'wrote:': 0.14; '>>and': 0.16; '>>i': 0.16; 'recipes': 0.16; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'maybe': 0.21; 'header:In- Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'mon,': 0.22; 'raymond': 0.22; 'received:209.85.161.46': 0.26; 'received:mail- fx0-f46.google.com': 0.26; 'david': 0.27; 'message- id:@mail.gmail.com': 0.28; 'received:209.85.161': 0.29; 'cc:addr:python.org': 0.31; 'nope,': 0.31; 'vote': 0.33; 'visibility': 0.35; 'think': 0.36; 'some': 0.37; 'received:209.85': 0.37; 'received:google.com': 0.38; 'but': 0.38; 'received:209': 0.39; 'header:Received:5': 0.40; 'give': 0.61; '2011': 0.62; 'instructive': 0.84; 'coolest': 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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=PjuEsWUJELzT/wL0/92aftGYFBPdEU0oNNwzyIMDCWg=; b=ZV8FkdnOd/ZbcFUmXO/Pbkz0U7eulOG5d80T0VIoOxe+QPEDkMwr7l/C+xJ19TjxfK cI6mTpkcr3ppteFEzqG0l/ztIkEFpzbYzkYWgavMsijhwYCvDNQTKgQLrhSnV0Ngn3cz DOuSg3anxOZciQoXhoUtSoZNb3FwP+Ht7RLn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=cCQBEkCq0U95/5ai3oKcmzBmA4nni/rIUZFAAxpmwymccJ/CZhgQIEcwGXf2ipbvJY X95X3/Lk2Nv2WpyG7URNW+YfhXTp3jzgjrs1iy32PYZD1FYFDKuetfVnDwIq/XF4SewE EFhiG7vhRnzLtaYLN8r4TTpFK5+R4/a7QRS/g= MIME-Version: 1.0 In-Reply-To: References: <69c1813d-1a9a-4686-9768-8ec1910a45f8@d19g2000prh.googlegroups.com> From: Ian Kelly Date: Mon, 2 May 2011 14:58:50 -0600 Subject: Re: Coolest Python recipe of all time To: David Monaghan 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: 17 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304369965 news.xs4all.nl 81483 [::ffff:82.94.164.166]:59533 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4499 On Mon, May 2, 2011 at 2:48 PM, David Monaghan wrote: > On Mon, 2 May 2011 10:33:31 -0700 (PDT), Raymond Hettinger > wrote: > >>I think it is time to give some visibility to some of the instructive >>and very cool recipes in ActiveState's python cookbook. >> >>My vote for the coolest recipe of all time is: >> >> =A0 =A0http://code.activestate.com/recipes/365013-linear-equations-solve= r-in-3-lines/ > > Really cool, but wrong. x =3D 3234.667, not 3236.0 Nope, I get 3236. Maybe you made a mistake somewhere.