embedded python and threading
John Gordon
gordon at panix.com
Fri Jul 26 12:34:38 EDT 2013
In <965b463e-e5bf-4ccd-9a3c-b0cb964b3356 at googlegroups.com> "David M. Cotter" <me at 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
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list
mailing list