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


Groups > comp.lang.python > #86041

Re: Python path on windows

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.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.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; '22,': 0.09; 'differently.': 0.09; 'historic': 0.09; 'lines.': 0.09; 'cc:addr:python-list': 0.11; 'bullet': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:windows': 0.16; 'them...': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'feb': 0.22; 'code,': 0.22; 'preferred': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'am,': 0.29; 'moved': 0.30; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'run': 0.32; 'could': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'track': 0.38; 'dave': 0.60; 'letters': 0.60; 'kind': 0.63; 'become': 0.64; 'pays': 0.65; 'world': 0.66; 'attention': 0.75; '2015': 0.84; 'angel': 0.91; 'discovering': 0.91; 'to:none': 0.92; 'yourself,': 0.95
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:cc :content-type; bh=jexG54Jnd+y9P/CjZt6Z3fPTFBbNTFnEcXGJKe1u458=; b=fEA7lNnU3/7rKvAJB6zGOax/CwI4nIRnG1tCdErjdmD4IHB3AoKxPrJwyVUtRp10vf 2/NCiQRXWoGX/Zmw9ZhOEnranr45GTdC+3h6CC8IyHt4nItBp91EZ9HiL2zeLEzVm9IY hoJsTi48LUtq7HBxNjPQyncKKYFhTlWOhttLgXKR8R4fo+RDNduLgnb1N23aZlQxnNmo C5QoEuMxFSfhfVC+RokAeuI0UAy+NRzdmGfRMYjCHa548uF3AYYn/Mop7MNAnTtEnZ67 J0+tXcUlc83rCljd1KbJxpeP9l9bAffdC+q5mTPcOH387TRWNmv2xklk7ucHB2IBF8mI QrDQ==
MIME-Version 1.0
X-Received by 10.42.64.197 with SMTP id h5mr3165836ici.12.1424529629374; Sat, 21 Feb 2015 06:40:29 -0800 (PST)
In-Reply-To <54E891D6.8010506@davea.name>
References <f8c8a373-16e9-41c1-9e5b-37003f7a6c70@googlegroups.com> <54E74A09.1060906@davea.name> <54E8668A.7010204@yahoo.no> <54E891D6.8010506@davea.name>
Date Sun, 22 Feb 2015 01:40:29 +1100
Subject Re: Python path on windows
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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.18968.1424529632.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424529632 news.xs4all.nl 2963 [2001:888:2000:d::a6]:42114
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86041

Show key headers only | View raw


On Sun, Feb 22, 2015 at 1:10 AM, Dave Angel <davea@davea.name> wrote:
> But you could always write your own py.exe, which interprets the shebang
> differently.
>
> Or run python.exe yourself, which as far as I know, pays no attention to
> shebang lines.

Or, my preferred solution: Fix the shebangs :) It's usually not hard
to put together a script that zips through your hard drive and fixed
them... or else you just fix 'em when you notice 'em, which means your
shebangs become a kind of historic marker. I used to have drive
letters all over my code, and I could track a program's history
through them: this used to be on D:, then it moved to E:, etc.
Discovering something that still said "D:\eddie" was like digging up a
Second World War bullet casing.

ChrisA

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


Thread

Python  path on windows loial <jldunn2000@gmail.com> - 2015-02-20 06:43 -0800
  Re: Python  path on windows Dave Angel <davea@davea.name> - 2015-02-20 09:51 -0500
  Re: Python path on windows Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-20 07:54 -0700
    Re: Python path on windows loial <jldunn2000@gmail.com> - 2015-02-20 07:16 -0800
      Re: Python path on windows Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-20 11:25 -0700
      Re: Python path on windows Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-20 18:31 +0000
      Re: Python path on windows Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-02-20 21:32 +0100
  Re: Python  path on windows wxjmfauth@gmail.com - 2015-02-20 07:20 -0800
  Re: Python path on windows Gisle Vanem <gvanem@yahoo.no> - 2015-02-21 12:05 +0100
  Re: Python path on windows Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-21 12:36 +0000
  Re: Python path on windows Dave Angel <davea@davea.name> - 2015-02-21 09:10 -0500
  Re: Python path on windows Chris Angelico <rosuav@gmail.com> - 2015-02-22 01:40 +1100

csiph-web