title: How to use argv with Spyder
body: <p>I'm running the code below in Spyder.
  I have typed it in a py file and simply hit the run button.</p>
  
  <p>When I try to run it I get the error:</p>
  
  <p>ValueError: need more than 1 value to unpack</p>
  
  <p>As shown here you are meant to give the inputs for the argv variable before running the  program but I don't know how to do this is spyder?  </p>
  
  <p><a href="http://learnpythonthehardway.org/book/ex13.html" rel="noreferrer">http://learnpythonthehardway.org/book/ex13.html</a></p>
  
  <pre><code>from sys import argv
  
  script, first, second, third = argv
  
  print "The script is called:", script
  print "The first variable is:", first
  print "The second variable is:", second
  print "Your third variable is:", third
  </code></pre>