Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!feed.xsnews.nl!border-3.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed5.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'option,': 0.07; 'python': 0.09; 'path.': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; '"python': 0.16; '24,': 0.16; 'redundant,': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.17; 'certainly': 0.17; 'not,': 0.21; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'idea': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'run': 0.28; "d'aprano": 0.29; 'steven': 0.29; 'no,': 0.29; 'maybe': 0.29; 'received:209.85.160.46': 0.32; 'program,': 0.34; 'received:google.com': 0.34; 'adds': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'bad': 0.37; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'header:Received:5': 0.40; 'jul': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=uvMPMu01Kr3Gzsau7gZLCwrkFCBGV2teKmwSAJZ1Gqc=; b=DzwigQ9RJMvM2yFg9hjZIgQ0b3eqMVht9oip6XV549y5ZakpXrFm1sIF6xnpslQC/J vCskdiCaNHmfV1olxdBS4OjIhDHFRwU58DCBUyOTfi31gjHEZCsI5GPEP4U62FLt84c9 876rVn09pgO78MXwTup7p56kHiTyU6VRnJsUrnLgTez0pfEmW70jLbH+2DDbtntvD058 ZDUTDbRthOfM/f1UkbrzhmyiaCraQvkigX5O4MmTsSvWHUmckcweMQxhFSZ5A+peZc4k GjTranTDe/jQ9IL/AWPEZMDyG2Pzt3FjQdOiaWh3QiKXs9FuvGRjDBScwt1ada23elAe BUPA== MIME-Version: 1.0 In-Reply-To: <500e34c8$0$1779$c3e8da3$76491128@news.astraweb.com> References: <500e34c8$0$1779$c3e8da3$76491128@news.astraweb.com> From: Devin Jeanpierre Date: Tue, 24 Jul 2012 03:49:31 -0400 Subject: Re: python package confusion To: "Steven D'Aprano" Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343116214 news.xs4all.nl 6874 [2001:888:2000:d::a6]:42419 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25960 On Tue, Jul 24, 2012 at 1:38 AM, Steven D'Aprano wrote: > I don't know about a bad idea or not, but it is certainly redundant, > because Python automatically adds '' (equivalent to '.') to the very > start of the search path. No, it only does that if Python is reading commands from stdin, or if Python was run with the -c option, or maybe some other situations. It doesn't do it if you just run a program, as in "python myfile.py". -- Devin