Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80872
| References | <CA+FnnTw0+kB2AJmUKK9o_WO18TxA5E52L4UgDRo=LnYQcmOkoQ@mail.gmail.com> <op.xpexbo1a6qxdhu@localhost> |
|---|---|
| Date | 2014-11-16 21:15 +1100 |
| Subject | Re: Where is inspect() located? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15881.1416132914.18130.python-list@python.org> (permalink) |
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Where is inspect() located? Chris Angelico <rosuav@gmail.com> - 2014-11-16 21:15 +1100
csiph-web