Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30008

Re: Java singletonMap in Python

References <mailman.1165.1348442059.27098.python-list@python.org> <505fc372$0$1612$c3e8da3$76491128@news.astraweb.com> <XnsA0D8BCC3B9239duncanbooth@127.0.0.1> <k3qc77$v47$1@ger.gmane.org> <omc268l89svaf1ap53e327n4qoojl3ci73@invalid.netcom.com>
Date 2012-09-25 00:38 -0400
Subject Re: Java singletonMap in Python
From Dwight Hutto <dwightdhutto@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1269.1348547907.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Sep 25, 2012 at 12:29 AM, Dennis Lee Bieber
<wlfraed@ix.netcom.com> wrote:
> On Mon, 24 Sep 2012 20:28:14 +0100, Mark Lawrence
> <breamoreboy@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Java singletonMap in Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-24 00:14 +0100
  Re: Java singletonMap in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-24 02:20 +0000
    Re: Java singletonMap in Python Duncan Booth <duncan.booth@invalid.invalid> - 2012-09-24 17:33 +0000
      Re: Java singletonMap in Python 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-24 12:03 -0700
      Re: Java singletonMap in Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-24 20:28 +0100
      Re: Java singletonMap in Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-25 00:29 -0400
      Re: Java singletonMap in Python Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-25 00:38 -0400

csiph-web