PEP 394

eryk sun eryksun at gmail.com
Sun Oct 21 11:00:13 EDT 2018


On 10/20/18, Terry Reedy <tjreedy at udel.edu> wrote:
>
> On Windows, there is a better solution: the py launcher.
>  > py      # launches the most most recent version installed*
>  > py -x   # launches the most recent x.y
>  > py -x.y # launches x.y if installed, else lists installed versions
>
> * At first, 2.x took precedence over 3.x, but this has since been switched.

The py launcher still prefers Python 2 for scripts that have a virtual
shebang, such as #!python and #!/usr/bin/python.



More information about the Python-list mailing list