title: Python Error name 'runfile' is not defined in Spyder
body: <p>I get error: name 'runfile' is not defined in Spyder (Python 2.7) although I have change my working directory where I save my scripts. I just run the code in command line, but I want run it in Spyder. How can I solve it?</p>
  
  <p>Thanks.</p>