Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80872 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-11-16 21:15 +1100 |
| Last post | 2014-11-16 21:15 +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: Where is inspect() located? Chris Angelico <rosuav@gmail.com> - 2014-11-16 21:15 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-11-16 21:15 +1100 |
| Subject | Re: Where is inspect() located? |
| Message-ID | <mailman.15881.1416132914.18130.python-list@python.org> |
On Sun, Nov 16, 2014 at 9:12 PM, Albert Visser <albert.visser@gmail.com> wrote: > On Sun, 16 Nov 2014 05:12:36 +0100, Igor Korot <ikorot01@gmail.com> wrote: > >>>>> import lib >> >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> ImportError: No module named lib >>>>> >>>>> >> >> In the https://docs.python.org/2/library/inspect.html, it says it is >> located in Lib/inspect.py. >> >> What am I missing? Or its only for 3.x? >> >> Thank you. > > > Windows may not be case-sensitive, but Python is iirc And "import lib" would look for Lib/lib.py anyway. ChrisA
Back to top | Article view | comp.lang.python
csiph-web