Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97822 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2015-10-20 10:03 +1100 |
| Last post | 2015-10-20 10:03 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: teacher need help! Chris Angelico <rosuav@gmail.com> - 2015-10-20 10:03 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-10-20 10:03 +1100 |
| Subject | Re: teacher need help! |
| Message-ID | <mailman.44.1445295829.878.python-list@python.org> |
On Tue, Oct 20, 2015 at 4:42 AM, jmp <jeanmichel@sequans.com> wrote: > import turtle > > print turtle.__file__ > > may help you find the offending file. > > jm In general, yes. Sadly, that technique doesn't work when the file attempts to import itself, and then errors out; your driver script will simply get an ImportError. (That said, though: The ImportError will include the traceback that gives the file name. But that's no different from what we already know.) ChrisA
Back to top | Article view | comp.lang.python
csiph-web