Time delay function?
Klaus Alexander Seistrup
jakabov+c.l.python at magnetic-ink.dk
Sun Oct 20 05:04:01 EDT 2002
Ken wrote:
> is there a command in Python similar to javascript's
> window.settimeout(), where you can set a few seconds
> delay before executing a function?
>>> import time
>>> print time.sleep.__doc__
sleep(seconds)
Delay execution for a given number of seconds. The argument may be
a floating point number for subsecond precision.
>>>
// Klaus
--
><> vandag, môre, altyd saam
More information about the Python-list
mailing list