On 2020-03-23 16:49, Brett Cannon wrote:
    Recently I've had to use a Windows VM for some stuff at work, where I 
installed
    Python 3 as well.  Every time I type python3 at the command-line (instead of
    python) to use the repl, it tries to load the Microsoft App Store!


There is an option to install Python to PATH on Windows if you check the appropriate box during installation, but that's not really the way Windows apps typically work.


    I realize why that was done, to help out newbies, but it is not what I want 
at
    all.  Not the end of the world, but some consistency would be nice.


As I said, you can install Python to PATH on Windows if you choose.


Was pretty sure I did that and just checked.

Here is the result, backwards from Ubuntu, if you'd like to run Python3:


    Microsoft Windows [Version 10.0.18363.720]
    (c) 2019 Microsoft Corporation. All rights reserved.

    C:\Users\User>path

PATH=C:\Python38\Scripts\;C:\Python38\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\
System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files\Yori;C:\Program Files\Yori;C:\Users\User\AppData\Local\Microsoft\WindowsApps;;C:\Users\User
    \AppData\Local\Programs\Microsoft VS Code\bin

    C:\Users\User>python
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> ^Z

    C:\Users\User>python3

    (App store loads!!)

    C:\Users\User>cd \Python38

    C:\Python38>dir
     Volume in drive C has no label.
     Volume Serial Number is 4A31-C9FC

     Directory of C:\Python38

    2019-12-07  05:40 PM    <DIR>          .
    2019-12-07  05:40 PM    <DIR>          ..
    2019-12-07  05:40 PM    <DIR>          DLLs
    2019-12-07  05:40 PM    <DIR>          Doc
    2019-12-07  05:39 PM    <DIR>          include
    2019-12-07  05:40 PM    <DIR>          Lib
    2019-12-07  05:39 PM    <DIR>          libs
    2019-10-14  08:43 PM            31,322 LICENSE.txt
    2019-10-14  08:44 PM           866,080 NEWS.txt
    2019-10-14  08:43 PM            99,912 python.exe
    2019-10-14  08:43 PM            58,952 python3.dll
    2019-10-14  08:43 PM         4,183,112 python38.dll
    2019-10-14  08:43 PM            98,376 pythonw.exe
    2020-03-17  03:01 PM    <DIR>          Scripts
    2019-12-07  05:40 PM    <DIR>          Tools
    2019-10-14  08:43 PM            89,752 vcruntime140.dll
                   7 File(s)      5,427,506 bytes
                   9 Dir(s)  108,736,249,856 bytes free


Note there is no python3.exe binary.

-Mike
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/SHJ5ANUQKNFJ5P74LX3SPOVIHQOTXLPK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to