Python path on windows

Ian Kelly ian.g.kelly at gmail.com
Fri Feb 20 13:25:05 EST 2015


On Fri, Feb 20, 2015 at 8:16 AM, loial <jldunn2000 at 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... at 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.



More information about the Python-list mailing list