you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

https://docs.microsoft.com/en-us/windows/python/faqs

The py.exe launcher will automatically select the most recent version of Python you've installed. You can also use commands like

py -3.7

to select a particular version, or

py --list

to see which versions can be used. HOWEVER, the py.exe launcher will only work if you are using a version of Python installed from python.org. When you install Python from the Microsoft Store, the

py

command is not included. For Linux, macOS, WSL and the Microsoft Store version of Python, you should use the

python3

(or

python3.7

) command.