title: Using command line arguments in Python: Understanding sys.argv
body: <p>I'm currently going through Learn Python The Hard Way. I think this example might be out dated so I wanted to get feedback here on it.</p>
  
  <p>I'm using Python 3.1</p>
  
  <pre><code>from sys import argv
  
  script, first, second, third = argv
  
  print("the script is called:", (script))
  print("your first variable is:", (first))
  print("your second variable is:", (second))
  print("your third variable is:", (third))
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/path/ch13.py", line 3, in &lt;module&gt;
      script, first, second, third, bacon = argv
  ValueError: need more than 1 value to unpack
  </code></pre>
  
  <p>Any idea what's wrong?</p>