title: How to run a.py file in python cmd?
body: <p>I'm a newbie to python, so I just installed python27 on my win8 machine and set the path for C:\Python27 and C:\Python27\Scripts. </p>
  
  <p>Now I want to execute a small .py file, so at the shell (python cmd) I type:</p>
  
  <pre><code>python "c:\python27\gtos.py"
  
    File "&lt;stdin&gt;", line 1
  
    python "c:\python27\gtos.py"
                                 ^
  
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>Any help is appreciated...</p>
  
  <p>Thanks</p>