how to run python files in windows command prompt?
<p>I want to run a python file in my command prompt but it does nothing.
These are the screen shots of my program i am testing with and the output the command prompt gives me.
<a href="http://i.stack.imgur.com/yHFIW.png" rel="nofollow"><img src="http://i.stack.imgur.com/yHFIW.png" alt="enter image description here"></a></p>

<p><a href="http://i.stack.imgur.com/Fz398.png" rel="nofollow"><img src="http://i.stack.imgur.com/Fz398.png" alt="enter image description here"></a></p>

<p>First go to the directory where your python script is present by using-</p>

<pre><code>cd path/to/directory
</code></pre>

<p>then simply do:</p>

<pre><code>python file_name.py
</code></pre>

python python-2.7 command-line cmd command