title: Spyder 'runfile' is not defined
body: <p>I am trying to run a script in <code>Spyder</code>, but am getting the following error:</p>
  
  <pre><code>NameError: name 'runfile' is not defined.
  </code></pre>
  
  <p>I tried a variety of things, like updating the PYTHONPATH variable, but nothing seems to be helping.<br>
  I have Python 2.7, Anaconda 2.4, and Spyder 2.3.8.  I have my PYTHONPATH set to:</p>
  
  <pre><code>C:\anaconda\\...\externalshell
  </code></pre>