Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28909
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'sys': 0.05; 'sep': 0.09; 'subject:Lib': 0.09; '*i*': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'peek': 0.16; 'subject:os.py': 0.16; 'sys.modules': 0.16; 'wed,': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'import': 0.21; 'received:209.85.214.174': 0.21; '3.2': 0.22; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'in.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.28; "i'm": 0.29; 'could': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; '12,': 0.36; "didn't": 0.36; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'subject:get': 0.81; 'confusion.': 0.84 |
| 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:to :content-type; bh=XREyJ8v/LvwLxApLdZREBxU2UNKDV0+7NrX7Mnb6plc=; b=PY5xcVn8txcMb1gNeMy2AO5jCX+SRj91KaccKtMv5BvoWW3Y9bb7fnP9zd9Od+H7SE 5viqGP3/oB41T/uW/cUm7XTQctwAx4g9bKdvRbIAnUI++RjHqc1MUdfrfZWNCnvwY/4g wyUqlFFpTBIQOcZTwCjpU13cB1n1w0QCX5SK+ugVjOIRahCWE+blxaSX1x72RKC63n9T YNsq8mlZZJezKJTI1Pt1Pqf6jYl1KJGjhTdi+VfyTWB1JzY5DfwkwCLYKa9+9m6LPcb5 Oz8FxjwCwCU/Dr8SKCkqE18REq+Zicxl18JVdloAE6orVSjUuEGW2A/NU9djzg5doS+S MErA== |
| MIME-Version | 1.0 |
| In-Reply-To | <9ef20f77-487f-4250-91af-5d7d2491da05@googlegroups.com> |
| References | <a4a2e63b-d25d-4487-bff8-67d4b7c40cbc@googlegroups.com> <504e4a8d$0$29981$c3e8da3$5496439d@news.astraweb.com> <83af64e3-bc26-4217-8afa-e4f6d45b604d@googlegroups.com> <504eb3fc$0$29890$c3e8da3$5496439d@news.astraweb.com> <mailman.489.1347348083.27098.python-list@python.org> <9ef20f77-487f-4250-91af-5d7d2491da05@googlegroups.com> |
| Date | Wed, 12 Sep 2012 08:50:12 +1000 |
| Subject | Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.525.1347403815.27098.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1347403815 news.xs4all.nl 6875 [2001:888:2000:d::a6]:45216 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:28909 |
Show key headers only | View raw
On Wed, Sep 12, 2012 at 5:13 AM, ruck <john.ruckstuhl@gmail.com> wrote: > I'm not sure how I could have known that ntpath was already imported, since *I* didn't import it, but that was the key to my confusion. One way to find out is to peek at the cache. >>> import sys >>> sys.modules There are quite a few of them in the 3.2 interactive that I just tried this in. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py ruck <john.ruckstuhl@gmail.com> - 2012-09-10 10:25 -0700
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-10 20:16 +0000
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py ruck <john.ruckstuhl@gmail.com> - 2012-09-10 15:22 -0700
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-11 03:46 +0000
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py Tim Golden <mail@timgolden.me.uk> - 2012-09-11 08:20 +0100
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py ruck <john.ruckstuhl@gmail.com> - 2012-09-11 12:13 -0700
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py Chris Angelico <rosuav@gmail.com> - 2012-09-12 08:50 +1000
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py Dave Angel <d@davea.name> - 2012-09-11 18:57 -0400
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py ruck <john.ruckstuhl@gmail.com> - 2012-09-11 12:13 -0700
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-12 08:17 +0200
Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py aahz@pythoncraft.com (Aahz) - 2012-11-09 16:42 -0800
csiph-web