best practices: is collections.defaultdict my friend or not?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Mar 7 20:14:43 EST 2010


On Sun, 07 Mar 2010 09:33:22 +0000, Mark Lawrence wrote:

>> I was a little frightened of doing "import this" ("Hey, kid, run rm -
>> rf / and see what happens!"), but did, and the words are wise.
>> 
>> Pete
> 
> After reading the words of wisdom try "import this" a second time and
> watch what happens, it's quite interesting if you're not expecting the
> output.

<raises eyebrow>

You weren't expecting to get the Python prompt?


-- 
Steven



More information about the Python-list mailing list