title: Can't run Python programs from the terminal window, how do I fix this? (Windows 10, Python version 3.8.5)
body: <p>I've been studying Python for a month now and normally I run all my programs in Sublime Text 3.</p>
  <p>Today I learn to run Python programs in the terminal window as introduced in <a href="https://automatetheboringstuff.com/2e/appendixb/" rel="nofollow noreferrer">this section</a> of the Automate the Boring Stuff with Python <a href="https://automatetheboringstuff.com/" rel="nofollow noreferrer">book</a> following <a href="https://youtu.be/qHcHUHF_Qfo" rel="nofollow noreferrer">this video</a>. Basically, I followed the instruction in the video and created the <strong>hello.py</strong> file as below:</p>
  <pre><code>#! python3
  print('Hello, World!')
  </code></pre>
  <p>Then I opened the Command Prompt to run the file with the command: <code>py.exe c:\users\danh\mypythonscripts\hello.py</code>,
  an error pops-up and states that <a href="https://i.stack.imgur.com/3N1dL.png" rel="nofollow noreferrer">&quot;This app can't run on your PC&quot;</a> and a line says that <a href="https://i.stack.imgur.com/UfGzd.png" rel="nofollow noreferrer">Access is denied</a>. I spent the whole day trying to fix this problem but still I couldn't get it running.</p>
  <p>One thing is when I change the directory of the Command Prompt to run the file to <strong>C:Windows\system32</strong> (or run the Command Prompt as Administrator) and then run the command <code>py.exe c:\users\danh\mypythonscripts\hello.py</code>, it runs the file without any problem as <a href="https://i.stack.imgur.com/Bc6LG.png" rel="nofollow noreferrer">in this image</a>.</p>
  <p>Does anyone know how to fix this problem? Any help is appreciated. Thanks!</p>
  <hr />