Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80871

Re: Where is inspect() located?

Path csiph.com!usenet.pasdenom.info!news.franciliens.net!fdn.fr!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <albert.visser@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.055
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'importerror:': 0.07; 'python': 0.11; 'windows': 0.15; 'igor': 0.16; 'iirc': 0.16; 'missing?': 0.16; 'wrote:': 0.18; 'module': 0.19; 'import': 0.22; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; '"",': 0.31; '+0100,': 0.31; '>>>>': 0.31; 'file': 0.32; 'says': 0.33; 'url:python': 0.33; '(most': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'located': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'thank': 0.38; 'nov': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'you.': 0.62; 'kind': 0.63; 'subject:Where': 0.84; 'albert': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=dmKWGndGRpquq4U0cWrbZJQW9PGxBW75F/fLxNPan1g=; b=i3LlNOKY5lq56IOg7+CYRblrZfcxwkgFCi4jeMnQg2SGqi9+QOCVjOIoGzX8D5JYM0 9uFK9VxFu/54prbJXUtqz0as/d2tqAbXrMkCzBFwmBfxQsSa+cZ7n4mUpIsjSV+tweFa kzeE9+r1816av5s79Yfu8sIXw6Vbujp82XIvdVDrrpPhq9Dh7jA+n9xqEQ2UyldLbPr1 aFCWMKN+ZaQb0fZlvQDf51dKiRGe5gkYbFZ0durC5O3pexWYsb5o4EtQcrHNHU0xVGGJ tTo4S4I5XOdMEKVvhSCuYzXrhQgqAhV7lLJE/sbqN5AdW56xPtzStxmr4l++D+RnVmA8 BAKg==
X-Received by 10.194.109.226 with SMTP id hv2mr29469151wjb.45.1416132773082; Sun, 16 Nov 2014 02:12:53 -0800 (PST)
Content-Type text/plain; charset=utf-8; format=flowed; delsp=yes
To python-list@python.org
Subject Re: Where is inspect() located?
References <CA+FnnTw0+kB2AJmUKK9o_WO18TxA5E52L4UgDRo=LnYQcmOkoQ@mail.gmail.com>
Date Sun, 16 Nov 2014 11:12:50 +0100
MIME-Version 1.0
Content-Transfer-Encoding 7bit
From "Albert Visser" <albert.visser@gmail.com>
In-Reply-To <CA+FnnTw0+kB2AJmUKK9o_WO18TxA5E52L4UgDRo=LnYQcmOkoQ@mail.gmail.com>
User-Agent Opera Mail/12.16 (Linux)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15880.1416132774.18130.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416132774 news.xs4all.nl 2842 [2001:888:2000:d::a6]:55729
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80871

Show key headers only | View raw


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

-- 
Vriendelijke groeten / Kind regards,

Albert Visser

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Where is inspect() located? "Albert Visser" <albert.visser@gmail.com> - 2014-11-16 11:12 +0100

csiph-web