Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25960

Re: python package confusion

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 <jeanpierreda@gmail.com>
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 <BsCdnb3NJ_bOvJDNnZ2dnUVZ7rmdnZ2d@bt.com> <mailman.2458.1343039009.4697.python-list@python.org> <500e34c8$0$1779$c3e8da3$76491128@news.astraweb.com>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date Tue, 24 Jul 2012 03:49:31 -0400
Subject Re: python package confusion
To "Steven D'Aprano" <steve+comp.lang.python@pearwood.info>
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 <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.2520.1343116214.4697.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Tue, Jul 24, 2012 at 1:38 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 11:02 +0100
  Re: python package confusion Dave Angel <d@davea.name> - 2012-07-23 06:19 -0400
    Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 11:54 +0100
  Re: python package confusion Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-23 06:22 -0400
    Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 12:02 +0100
      Re: python package confusion David <bouncingcats@gmail.com> - 2012-07-23 21:16 +1000
        Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 12:43 +0100
    Re: python package confusion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-24 05:38 +0000
      Re: python package confusion Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-24 03:49 -0400

csiph-web