Sleep command

Gerhard Häring gerhard at bigfoot.de
Fri May 3 06:15:18 EDT 2002


Brian Nulty wrote in comp.lang.python:
> The "sleep" command is not working for me in Jython 2.1. The 
> specification is:
> 
> sleep(30); # to sleep for 30 seconds

It certainly is there:

gerhard at lilith:~/jython-2.1$ ./jython
Jython 2.1 on java1.3.1 (JIT: jitc)
Type "copyright", "credits" or "license" for more information.
>>> from time import sleep
>>> sleep
<java function sleep at 458426618>

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list