[Tutor] really really silly question

Daniel Yoo dyoo@hkn.eecs.berkeley.edu
Sat, 28 Oct 2000 12:21:50 -0700 (PDT)

On Sun, 29 Oct 2000, wheelege wrote:

>   I saw the sleep command in the python documentation and tried to use
> it - but no matter how hard I try I get an error saying the variable
> 'sleep' does not exist.  Help!

The sleep command's part of the time module, so you'll need to import time

    import time
    time.sleep(10) # sleep for 10 seconds


    from time import sleep

Hope this helps!