title: Python/python3 executes in Command Prompt, but does not run correctly
body: <p>I've solved the issue and am posting to save others from my hours of pain.</p>
  <h1>Problem</h1>
  <p>On Windows 10,</p>
  <p>Python is installed in <code>C:\Python</code> and added to Environment Variables, but will not properly run programs.</p>
  <p>Typing <code>python myscript.py</code> in CMD does not run the program but does not produce any errors.</p>
  <p>Typing <code>C:\Python\python.exe myscript.py</code> correctly runs the code.</p>
  <h1>Solution</h1>
  <p>Navigate to <code>C:\Users\Username\AppData\Local\Microsoft\WindowsApps\python.exe</code> in CMD and type <code>del /f python.exe</code>.</p>
  <h1>What was wrong</h1>
  <p>The file located at <code>C:\Users\MyUsername\AppData\Local\Microsoft\WindowsApps\python.exe</code> is viewed before the Environment Variables in <code>PATH</code>. This file just opens the download page for Python in Edge.</p>
  <p>You need to delete this file or rename it, but the items in this folder are protected by Microsoft. You get <code>Error 0x80070780</code> if you try to delete this file with file explorer. In order to delete it you need to navigate to the folder in CMD with administrator privileges and type  the above to remove this file.</p>
  <p>I hope this helps someone.</p>
  <h1>Edit</h1>
  <p>While the solution I originally posted seems to work for people. I would recommend the solution posted by Max:</p>
  <p><a href="https://stackoverflow.com/a/65520328/9407750">https://stackoverflow.com/a/65520328/9407750</a></p>