title: how to run .py files in command prompt (Windows 7)
body: <p>I am facing an extremly tiresome and difficult problem for me, one for which i was anable to find any solution for quite some time, my google searching skills failing me miserably.</p>
  
  <p>I have tried to open a .py file with a single line of code in it</p>
  
  <p>print "Hello"</p>
  
  <p>with various methods, including IDLE (Python GUI), Python (Command Line) and finally, command prompt, but to no avail.</p>
  
  <p>I was eventually able to set the PATH variable in Windows and access the python interpreter through the cmd, but when typing the name of the file I keep getting the same error message:</p>
  
  <pre><code>&gt;&gt;&gt; new.pyTraceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  NameError: name 'new
  ' is not defined
  </code></pre>
  
  <p>What could I do to solve it, and finally be able to run my .py file?</p>