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


Groups > comp.lang.python > #86041

Re: Python path on windows

References <f8c8a373-16e9-41c1-9e5b-37003f7a6c70@googlegroups.com> <54E74A09.1060906@davea.name> <54E8668A.7010204@yahoo.no> <54E891D6.8010506@davea.name>
Date 2015-02-22 01:40 +1100
Subject Re: Python path on windows
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18968.1424529632.18130.python-list@python.org> (permalink)

Show all headers | 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