[Tutor] really really silly question

Doug Stanfield DOUGS@oceanic.com
Sat, 28 Oct 2000 04:57:07 -1000

There are no silly or stupid questions in this group.  Feel free to ask

>  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.

Sleep is a part of the time module.  That means time has to be imported
before sleep will be recognized as a valid name.  Here's an example

#!/usr/bin/env python
import time

print "The beginning of time."
time.sleep(5.9) # not sure the documents mention that fractions work too
print "The end of time."

> Help!

Hope this did.