In <[email protected]> "David M. Cotter" 
<[email protected]> writes:

> ==========================================
>     9: Traceback (most recent call last):
>     9:   File "<string>", line 10, in ?
>     9:   File "<string>", line 6, in main
>     9: AttributeError: 'builtin_function_or_method' object has no attribute 
> 'sleep'
> ==========================================

You must have a file named 'time.py' in the current directory, and the
import statement is getting that module instead of the system time module.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to