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


Groups > comp.lang.python > #85992

Re: Python path on windows

From Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Subject Re: Python path on windows
Date 2015-02-20 21:32 +0100
References <f8c8a373-16e9-41c1-9e5b-37003f7a6c70@googlegroups.com> <mailman.18924.1424444054.18130.python-list@python.org> <ef789d3d-ec7d-4b6f-a6a9-751a7a945851@googlegroups.com> <CALwzid=UtwMgoL9=WVKfriz8ZONh0m8GxnJc+Hd_6oAbOTTN-w@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18933.1424464361.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 20.02.2015 19:25, Ian Kelly wrote:
> On Fri, Feb 20, 2015 at 8:16 AM, loial <jldunn2000@gmail.com> wrote:
>> On Friday, February 20, 2015 at 2:54:26 PM UTC, Ian wrote:
>>> On Feb 20, 2015 7:46 AM, "loial" <jldun...@gmail.com> wrote:
>>>
>>>>
>>>
>>>> On Linux we use
>>>
>>>> #!/usr/bin/env python
>>>
>>>>
>>>
>>>> At the start of scripts to ensure that the python executable used is the one defined in the PATH variable, rather than hardcoding a path to the python executable.
>>>
>>>>
>>>
>>>> What is the equivalent functionality in Windows?
>>>
>>> https://docs.python.org/3/using/windows.html#launcher
>>>
>>> Note that while the launcher can be used with any version of Python, it is only packaged with 3.3+.
>>
>> Vesrion is 2.6
>
> You can install multiple versions of Python on the same system without
> conflict. If you install Python 3.4 also, then you'll have the
> launcher. I don't know if there's an easy way to install just the
> launcher.

https://bitbucket.org/vinay.sajip/pylauncher/overview

has the standalone launcher (msi installers are in the downloads section).

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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