In <965b463e-e5bf-4ccd-9a3c-b0cb964b3...@googlegroups.com> "David M. Cotter" 
<m...@davecotter.com> 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
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to