title: No arguments in sys.argv when calling Python Script directly on Windows
body: <p>I have some convenience python scripts in my path that I want to run by calling  them directly, e.g. <code>myscript.py argument1</code>. But the arguments won't show up in <code>sys.argv</code>.</p>
  
  <p><strong>test.py</strong></p>
  
  <pre><code>#!python3.5
  
  import sys
  print(sys.argv)
  </code></pre>
  
  <p>So when I call this little script directly I can not access the given argument via <code>sys.argv</code>.</p>
  
  <pre><code>c:\Users\MrLeeh\bin&gt;test.py hello
  ['C:\\Users\\MrLeeh\\bin\\test.py']
  </code></pre>
  
  <p>While when I call it explicitly with the <code>python</code> command I can access my argument. </p>
  
  <pre><code>c:\Users\MrLeeh\bin&gt;python test.py hello
  ['C:\\Users\\MrLeeh\\bin\\test.py', 'hello']
  </code></pre>
  
  <p>I ask myself what is the reason for this and how can I access the arguments when using a direct call. My python files are associated with <code>py.exe</code>.</p>