I am very new to programming and I'm trying the self-taught route, so forgive me if I am asking the wrong questions, using this site incorrectly, or breaking formatting rules. I am using a course on Udemy to learn some Python basics for Windows 10. I have reached the part in my tutorial where I am learning about executing Python commands from the Command Prompt, and I am having some issues surrounding "py.exe". Specifically the fact that it doesn't seem to exist on my PC.
Every time that I try anything regarding "py.exe" I get the same error from the title. I have learned through many searches that this is supposed to be a file that comes included with your Python download, and that all it really does is search the .py file for a shebang so that it can call the proper version of Python to run whatever functions you have in your code. Fine, all of that makes sense. But the system doesn't have it anywhere. I have done a file search of the whole computer and found nothing. I saw online that Python 3.7 saves the py.exe,pyw.exe, and pyshellext.amd64.dll files in C:\Windows rather than the Python download folder, and I have found pyshellext.amd64.dll there (though I don't know what it does), but the other 2 are nowhere to be found. My searches led me to believe that I must have messed something up on Install, so I have no uninstalled and reinstalled Python at least 4 times as administrator, and made sure that Python was added to the PATH. Nothing I do seems to make any difference, which would make sense if my download just never had py.exe or pyw.exe to begin with. However, when I call the command to test the association of .py file type, the Command Prompt seems to suggest that py.exe should be located in C:\WINDOWS. But when I look I can't find it.
C:\Users\Aaron>py.exe C:\users\aaron\mypythonscripts\Hellotest.py
'py.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Aaron>assoc .py
.py=Python.File
C:\Users\Aaron>ftype Python.File
Python.File="C:\WINDOWS\py.exe" "%L" %*
Do I need to download some sort of stand alone version of py.exe or pyw.exe? Is there some sort of new version of either of these commands that my tutorial is just too old to account for? Has anyone else ever seen this happen?
Thank you for taking the time to read!
EDIT: I think there is something amiss with my install process. I have done a file search from the command prompt and found nothing
C:\Users\Aaron> where py.exe
INFO: Could not find files for the given pattern(s)
I have tried uninstalling and reinstalling (for the 8th time) and I see the box many people have referenced that includes the py launcher with the download. It is greyed out but checked, so I assume it should be downloading with the rest of the package, but I can't find it.
Here is a screenshot of my installer
Could the piece I have highlighted be causing me issues? It seems to imply that my system is removing the py launcher?