Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51315
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!panix!gordon |
|---|---|
| From | John Gordon <gordon@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: embedded python and threading |
| Date | Fri, 26 Jul 2013 16:34:38 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 17 |
| Message-ID | <ksu8eu$oh0$1@reader1.panix.com> (permalink) |
| References | <a6710206-8676-48c8-ad66-95139e695503@googlegroups.com> <mailman.5138.1374831002.3114.python-list@python.org> <965b463e-e5bf-4ccd-9a3c-b0cb964b3356@googlegroups.com> |
| NNTP-Posting-Host | panix3.panix.com |
| X-Trace | reader1.panix.com 1374856478 25120 166.84.1.3 (26 Jul 2013 16:34:38 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Fri, 26 Jul 2013 16:34:38 +0000 (UTC) |
| User-Agent | nn/6.7.3 |
| Xref | csiph.com comp.lang.python:51315 |
Show key headers only | View raw
In <965b463e-e5bf-4ccd-9a3c-b0cb964b3356@googlegroups.com> "David M. Cotter" <me@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@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-25 23:15 -0700
Re: embedded python and threading Stefan Behnel <stefan_ml@behnel.de> - 2013-07-26 11:29 +0200
Re: embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-26 08:57 -0700
Re: embedded python and threading David Robinow <drobinow@gmail.com> - 2013-07-26 12:14 -0400
Re: embedded python and threading John Gordon <gordon@panix.com> - 2013-07-26 16:34 +0000
Re: embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-26 10:25 -0700
Re: embedded python and threading "David M. Cotter" <me@davecotter.com> - 2013-07-26 10:28 -0700
Re: embedded python and threading Stefan Behnel <stefan_ml@behnel.de> - 2013-07-26 20:38 +0200
csiph-web