On 10/20/18, Terry Reedy <tjre...@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.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to