On 20.02.2015 19:25, Ian Kelly wrote:
On Fri, Feb 20, 2015 at 8:16 AM, loial <jldunn2...@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).


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to