title: using #!/usr/bin/env python3 shebang with Windows
body: <p>I'm trying to run a Python script from the command line as a command on Windows -- so no usage of "Python" or ".py". If my script is named "testing.py", I am attempting to make this name into a command and call "testing" from the command line.</p>
  
  <p>Going through the docs it seems I need to use this shebang <code>#!/usr/bin/env python</code> as long as I have Python in my PATH.</p>
  
  <p><a href="https://docs.python.org/3/using/windows.html#shebang-lines" rel="noreferrer">https://docs.python.org/3/using/windows.html#shebang-lines</a></p>
  
  <p>I also have the script folder in my PATH, so something like 
  "testing.py" is currently working from the command line.  </p>
  
  <p>According to the docs and this tutorial, 
  <a href="https://dbader.org/blog/how-to-make-command-line-commands-with-python" rel="noreferrer">https://dbader.org/blog/how-to-make-command-line-commands-with-python</a></p>
  
  <p>I should be able to evoke my Python script just by "testing" if I have the proper paths within PATH and the above shebang. However, I can't seem to get the script running withouth adding ".py".</p>