[Python-ideas] Make py.exe default to Python 3

Nick Coghlan ncoghlan at gmail.com
Tue Mar 15 00:47:34 EDT 2016


On 15 March 2016 at 09:01, Paul Moore <p.f.moore at gmail.com> wrote:
> I apologise if I gave the impression in this thread that there's any
> sort of "official" change in advice on how to launch Python. As far as
> I know, there hasn't been.

It's still "python" - that works regardless of version on Windows
(with a suitably configured PATH), in virtual environments and in
pyenv and conda environments (and probably in Enthought Canopy as
well, but I haven't checked that). The only places where it doesn't
work are:

* Windows without a properly configured PATH (and without a tool like
vex or conda)
* accessing Python 3 on *nix systems (without a tool like vex, pyenv or conda)

On the *nix side of things, the long term objective is to get "python"
to a point of being usable for the latter case, but there's still a
lot of other things to be done before that's a realistic option (e.g.
migrating system packages over to using their own dedicated binary or
symlink, so "python" can be switched to point to something else
without affecting system services).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-ideas mailing list