Java singletonMap in Python

Dwight Hutto dwightdhutto at gmail.com
Tue Sep 25 00:38:23 EDT 2012


On Tue, Sep 25, 2012 at 12:29 AM, Dennis Lee Bieber
<wlfraed at ix.netcom.com> wrote:
> On Mon, 24 Sep 2012 20:28:14 +0100, Mark Lawrence
> <breamoreboy at yahoo.co.uk> declaimed the following in
> gmane.comp.python.general:
>
>>
>> Thank goodness for that, I'd assumed that I'd missed something blatantly
>> obvious.  There are two chances of something like this getting into the
>> standard library, zero or none.  I think in a way that's a great pity as
>> I'm sure that the Python devs would enjoy supporting the little feller
>> with code such as this http://tinyurl.com/9v7d7ld :)
>
>         Oh, the chance /might/ be a bit higher... On par with winning the
> jackpot in one of those multi-state lotteries (because you'd have to
> donate the entire jackpot to Python.org to persuade them to add a "do
> nothing" package <G>)

It's called
import time
time.sleep(x)

-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com



More information about the Python-list mailing list