Python 3.6 on Windows - does a python3 alias get created by installation?

Dan Purgert dan at djph.net
Wed Oct 9 12:42:56 EDT 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Malcolm Greene wrote:
> I'm jumping between Linux, Mac and Windows environments. On Linux and
> Mac we can invoke Python via python3 but on Windows it appears that
> only python works. Interestingly, Windows supports both pip and pip3
> flavors. Am I missing something? And yes, I know I can manually create
> a python3 alias by copying python.exe to python3.exe but that approach
> has its own set of nuances on locked down servers plus the hassle of
> keeping these python3 copies up-to-date across Python updates.
>
> Also curious: Do the Windows versions of Python 3.7 and 3.8 provide a
> python3 alias to start Python?.
>
> Thanks!
> Malcolm

Linux (and presumably Mac) just set "python" and "python3" as symlinks
to various flavors of python2.x or 3.x.  Setting up a couple of links /
shortcuts should be equally possible on a windows box.


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl2eDg8ACgkQjhHd8xJ5
ooHYxggAsozJWO9OQtXApE0AeG9H1HW7y3cRUyXIX7OxrgnAKxusnPq5uiyZYFEs
c1pYlwi1xkO2m0dDL9sB1BF3fOQn3h6HjH2jsdN5M/qTK4EiZ5sIiWXy/VyeN6Sf
PzjLx8a8n4qt53yifKN7YBdnPIgyKLY1FSpyvpwc0hWndX70soapU2J4NJtNoIuj
MxnKr3KJGynr5XemBiMWNtzv9bPWxPaA5kytaSzOXpVS8Dc7I9ToJe2Dtb/nNGDu
nI3nYa3GnGGDN/HEaVbEq5Jq+oj7vtYiR9lUoqxn+Jes8D+Ga6Dg5zBvMQ3DTVac
53m4B9VaPop1mpm8Ba3mW/x2Cvp9nw==
=yPoj
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



More information about the Python-list mailing list