Verifying I installed Python correctly

Eryk Sun eryksun at gmail.com
Mon Apr 25 17:49:47 EDT 2022


On 4/25/22, Barry <barry at barrys-emacs.org> wrote:
>
>> On 25 Apr 2022, at 21:14, Jack Dangler <tdldev at gmail.com> wrote:
>
>> Have you tried
>>
>> python3 hello.py
>
> Will not work on windows. Python is always installed as python.exe and
> py.exe only.

Yes, except the app versions installed from the Microsoft Store do
create appexec aliases for python.exe, python3.exe, and python3.x.exe
(e.g. python3.10.exe). The aliases for installed versions can be
toggled separately, so "python.exe" could be enabled to run 3.9, while
"python3.exe" is enabled to run 3.10. The same applies to the "pip*"
and "idle*" aliases.


More information about the Python-list mailing list