Sleep command
Jeff Shannon
jeff at ccvcorp.com
Fri May 3 13:39:07 EDT 2002
In article <mailman.1020420187.1268.python-list at python.org>,
holger krekel says...
> [Brian Nulty Fri, May 03, 2002 at 10:38:26AM +0100]
> Brian> The "sleep" command is not working for me in Jython 2.1. The
> Brian> specification is:
> Brian>
> Brian> sleep(30); # to sleep for 30 seconds
>
> import time
> time.sleep(30)
>
> and time should stand still for 30 seconds.
> btw, i would rather call it 'statement','command' or 'code' than
> 'specification'.
Picking nits here, but I would call it a function, because that
is exactly what it is. I most certainly would *not* call it a
statement -- that term has a definite meaning in this context,
and sleep() is *not* a statement. :)
--
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list