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: 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: <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 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sun, Feb 22, 2015 at 1:10 AM, Dave Angel 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