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!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.042 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'sys': 0.05; 'subject:Lib': 0.09; 'cc:addr:python-list': 0.10; '*i*': 0.16; 'subject:os.py': 0.16; 'sys.modules': 0.16; 'wrote:': 0.17; 'import': 0.21; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'subject:/': 0.28; "i'm": 0.29; 'could': 0.32; 'print': 0.32; 'pm,': 0.35; 'received:192.168.0': 0.35; 'but': 0.36; "didn't": 0.36; 'subject:: ': 0.38; 'sure': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Reply- To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'subject:get': 0.81; 'confusion.': 0.84 Date: Tue, 11 Sep 2012 18:57:19 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: ruck Subject: Re: how to get os.py to use an ./ntpath.py instead of Lib/ntpath.py References: <504e4a8d$0$29981$c3e8da3$5496439d@news.astraweb.com> <83af64e3-bc26-4217-8afa-e4f6d45b604d@googlegroups.com> <504eb3fc$0$29890$c3e8da3$5496439d@news.astraweb.com> <9ef20f77-487f-4250-91af-5d7d2491da05@googlegroups.com> In-Reply-To: <9ef20f77-487f-4250-91af-5d7d2491da05@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:VwFKJKUt+kULxXyObEuQ9ee78wmF4OsGMZIwyBJMUbG eo8M3aigLdj+/Fsuv+4pt6ppRrMZIp/sH447QAWwmcnEl259I7 BlbtPQDpfjk2zC4bn5iQppfjKc4kYBtF8CMNAYQP1TTU4//DBk xk6ZwJjU1HfdKZIXjkAE3L9aKI3sAdgxJBEdZWvozJFGYbucWg afu8OIZY73927tPz5GXsTvUI+DO41UYrA83nJO9bAGKKu+5UX4 ZnXE7+Wdihq9EDHoqMul+By6KebQ1e9JCPoJXGsu8CJfMi0lgU YU6IlmWq0UylibTF853z1GM98AwTDIultPNBQjcurm95Z94OA= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347404243 news.xs4all.nl 6953 [2001:888:2000:d::a6]:53946 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28911 On 09/11/2012 03:13 PM, ruck 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. > import sys print sys.modules -- DaveA