title: Learn Python The Hard Way Exercise 13 (using pycharm) - execute a script in console
body: <p>I am obviously new to python and I've spent the last 1.5 hours beating my head against the wall trying to get this exercise done.  It should be relatively simple, and I'm sure using an IDE when I'm new is probably not doing me any favors.</p>
  
  <p>Basically I have this script:</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 type the above in the editor and then I have the file saved as "ex13.py".  When I then try to run the script in the python console I am continually told that the name is not defined.  I would really appreciate any help getting this resolved, I am basically stuck and can't progress until I figure out how to run this damn script in pycharm.</p>