Coolest Python recipe of all time

David Monaghan monaghand.david at gmail.com
Mon May 2 17:45:34 EDT 2011


On Mon, 2 May 2011 14:58:50 -0600, Ian Kelly <ian.g.kelly at gmail.com> wrote:

>On Mon, May 2, 2011 at 2:48 PM, David Monaghan
><monaghand.david at gmail.com> wrote:
>> On Mon, 2 May 2011 10:33:31 -0700 (PDT), Raymond Hettinger <python at rcn.com>
>> 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:
>>>
>>>    http://code.activestate.com/recipes/365013-linear-equations-solver-in-3-lines/
>>
>> Really cool, but wrong. x = 3234.667, not 3236.0
>
>Nope, I get 3236.  Maybe you made a mistake somewhere.

Oops. What a plonker .Three times I checked and got the same result each
time. Now it works fine. Sorry!

DaveM



More information about the Python-list mailing list