title: Passing command Line argument to Python script within Eclipse(Pydev)
body: <p>I am new to Python &amp; Eclipse, and having some difficulties understanding how to pass command line argument to script running within Eclipse(Pydev).</p>
  
  <p><a href="http://diveintopython.net/scripts_and_streams/command_line_arguments.html" rel="noreferrer">The following link</a> explains how to pass command line argument to python script.</p>
  
  <p>To pass command line argument to module <code>argecho.py</code>(code from link above),</p>
  
  <pre><code>#argecho.py
  import sys
  
  for arg in sys.argv: 1
      print arg
  </code></pre>
  
  <p>I would need to type into python console </p>
  
  <pre><code>[you@localhost py]$ python argecho.py             
  argecho.py
  </code></pre>
  
  <p>or</p>
  
  <pre><code>[you@localhost py]$ python argecho.py abc def     
  argecho.py
  abc
  def
  </code></pre>
  
  <p>How would I pass same arguments to Python script within Eclipse(Pydev) ???</p>
  
  <p>Thanks !</p>