title: How can I get command line arguments(sys.argv) in python
body: <p>filename:test.py</p>
  
  <pre><code>import sys
  print(sys.version)
  print(sys.argv)
  </code></pre>
  
  <p>I typed <code>python test.py 1 2 3</code> in the cmd console , it works well.</p>
  
  <pre><code>3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)]
  ['test.py', '1', '2', '3']
  </code></pre>
  
  <p>However , I type <code>test.py 1 2 3</code> in the cmd console, it can only get the first argument.</p>
  
  <pre><code>3.5.0b4 (v3.5.0b4:c0d641054635, Jul 26 2015, 06:55:14) [MSC v.1900 32 bit (Intel)]
  ['E:\\Bin\\iproc\\test.py']
  </code></pre>
  
  <p>How can I get these arguments ?</p>