Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80847
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ikorot01@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.040 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'win32': 0.03; 'importerror:': 0.07; 'python': 0.11; 'missing?': 0.16; 'nameerror:': 0.16; 'all,': 0.19; 'bit': 0.19; 'module': 0.19; '>>>': 0.22; 'import': 0.22; 'print': 0.22; 'defined': 0.27; 'message-id:@mail.gmail.com': 0.30; '"",': 0.31; 'file': 0.32; 'says': 0.33; 'url:python': 0.33; '(most': 0.33; 'received:google.com': 0.35; 'located': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'thank': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'you.': 0.62; 'name': 0.63; 'more': 0.64; 'subject:Where': 0.84; '2013,': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zPF0bYvAabChkyzKUg5D/C6lv21Mfhs43h5ikz2IUAg=; b=jpHaAyKVdo6uruK6I53Xcq4zhs3cXRrC0h7FT4GqsrF8zz43UvVFTMDWJNqlM9SdtQ dUtht2CfmVy8xy3FS8bwHF66fxQPKVdVJyjOf8y3vlhv8d5sONO4btsnmipA3tPE2YBY /9NjT0y9HVpLzzSoJkauf4Ogd6rm8UVjVuf0m3Si7nskT+eOyKW9baPuLJ+BiMt0McKd CEhJG7JZKYogQAsxKEuRSlae7zdQORYMFRljS+nnNq6kqpJAzclN/rb0Yd6GWgJial3U 6WOZuPPQoj8snTDADWHQuysS7Semh6taKfP/872WG135hAkLfczyhIT+IXQKOxacBeZ6 EIJA== |
| MIME-Version | 1.0 |
| X-Received | by 10.60.150.129 with SMTP id ui1mr37216oeb.38.1416111156981; Sat, 15 Nov 2014 20:12:36 -0800 (PST) |
| Date | Sat, 15 Nov 2014 23:12:36 -0500 |
| Subject | Where is inspect() located? |
| From | Igor Korot <ikorot01@gmail.com> |
| To | 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 <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.15863.1416111601.18130.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416111601 news.xs4all.nl 2924 [2001:888:2000:d::a6]:37613 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:80847 |
Show key headers only | View raw
Hi, ALL, C:\Documents and Settings\Igor.FORDANWORK\Desktop\winpdb>python Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from a.b import c >>> print c.classA <class 'a.b.c.classA'> >>> inspect.getmembers(c.classA) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'inspect' is not defined >>> 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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Where is inspect() located? Igor Korot <ikorot01@gmail.com> - 2014-11-15 23:12 -0500
csiph-web