title: Running Python scripts through the Windows Command Line
body: <p>I've just started learning Python using <em>Learning Python</em> by Mark Luts. In his book he offers an example of a simple script that is called through the Windows shell. In the example, he calls is as follows:</p>
  
  <pre><code>C:\code&gt; python script1.py
  </code></pre>
  
  <p>I've gone and modified the Environment Variables on my machine so that I can call</p>
  
  <pre><code>C:\User\Example&gt; python
  </code></pre>
  
  <p>to open up the interpreter and I can also call something like</p>
  
  <pre><code>C:\User\Example&gt; script1
  </code></pre>
  
  <p>to run a script that I've written and placed in my desired directory. My issue is that I can not call</p>
  
  <pre><code>C:\User\Example&gt; python script1.py
  </code></pre>
  
  <p>in my command line the same way he does in the book. He's mentioned something about a PYTHONPATH Environment Variable, however, this variable isn't present on my machine. I only have 'path', 'TEMP', and 'TMP'. Particulary, when I try to make such a call I get the error</p>
  
  <pre><code>python: can't open file 'script1.py': [Errno 2] No such file or directory
  </code></pre>
  
  <p>What do I have to do in order to get this sort of command to work properly on the command line?</p>