title: How can I run a python script using the IPython console in Spyder?
body: <p>This command runs under <code>bash</code> on Linux:</p>
  
  <pre><code>python file.py variables
  </code></pre>
  
  <p>But when I write it to the IPython console in Spyder I get:</p>
  
  <pre><code>SyntaxError: invalid syntax
  </code></pre>
  
  <p><em>Q</em>: How can I run a python script using the IPython console in Spyder?</p>