Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'anyway.': 0.05; 'importerror:': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'igor': 0.16; 'iirc': 0.16; 'missing?': 0.16; 'wrote:': 0.18; 'module': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '"",': 0.31; '+0100,': 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; 'pm,': 0.38; 'recent': 0.39; 'you.': 0.62; 'subject:Where': 0.84; 'albert': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=lk36nO4FBW+/FsYYIhS6hmTvvxCEXcIqLu2O8UTbnbs=; b=eAwps315oh0HLERG2wYnXU3zuw6BulztL5mlt6OlBmg+oH2nprjB9CzyFCmoIyrKGj eRfVh5coDlZr4bztbOrRwasfH1uCQ0HM7bP0E/GCuzcadSmlBerlzxbxAEV55J22uAcR C0OQl6bjjkiMDsvIWmIFkFscg7bN5utT04P8CxTwnmpNNDSlX892TVZj56+H7Wkq1kXw ZQ7OInpV/s02so4HVFDqC8E7S1CQ5aujj9JW5c14GW/DWWVaKaic2ZFMA9GwfNtgc8uQ V16IjgH9D+L7XwxPbMluzH7XaoK4WbcMz0Q5TmRas7a1wjo1CMThEpoRuv5+r5MvoHAC kuBg== MIME-Version: 1.0 X-Received: by 10.50.79.135 with SMTP id j7mr18515833igx.14.1416132911455; Sun, 16 Nov 2014 02:15:11 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Nov 2014 21:15:11 +1100 Subject: Re: Where is inspect() located? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416132914 news.xs4all.nl 2886 [2001:888:2000:d::a6]:58548 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80872 On Sun, Nov 16, 2014 at 9:12 PM, Albert Visser wrote: > On Sun, 16 Nov 2014 05:12:36 +0100, Igor Korot wrote: > >>>>> import lib >> >> Traceback (most recent call last): >> File "", line 1, in >> 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