[Numpy-discussion] how to insert some specific delay

2012-02-08 Thread Debashish Saha
how to insert some specific delay in python programming using numpy command.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] how to insert some specific delay

2012-02-08 Thread Chris Barker
On Wed, Feb 8, 2012 at 10:18 AM, Debashish Saha silid...@gmail.com wrote:
 how to insert some specific delay in python programming using numpy command.

do you mean a time delay? If so -- numpy doesn't (and shouldn't) have
such a thing.

however, the time module has time.sleep()

whether it's a good idea to use that depends on your context -- for a
simple script, maybe. If your code is running in a GUI or something,
then probably not, look at your GUI toolkit's options for timers, etc.

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/ORR            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion