title: python command line ok in python shell but not through windows cmd
body: <p>I was about to test the ftpmirror builtin script (python322, winXP 32bits) from the cmd windows default shell and get this :</p>
  
  <pre><code>File "C:\Program Files\python322\Tools\Scripts\ftpmirror.py", line 161
  print('Skip pattern', repr(pat), end=' ')
                                      ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>I tested the print() line directly in the python shell, trough cmd, and with idle (and in blender also) : this work obsiously.</p>
  
  <p>I reproduce the error with a coucou.py file like this :</p>
  
  <pre><code>#! /usr/bin/env python3
  pat = 'toto'
  print("Skip pattern", repr(pat), end=" ")
  </code></pre>
  
  <p>when directly called from a cmd prompt :</p>
  
  <pre><code>C:\Program Files\python322\Tools\Scripts&gt;coucou.py
  </code></pre>
  
  <p>same error than with ftpmirror
  but :</p>
  
  <pre><code>C:\Program Files\python322\Tools\Scripts&gt;python coucou.py
  </code></pre>
  
  <p>is ok</p>
  
  <p>and my environment is ok I can execute py scripts directly from the windows ui by double-clicking a .py file, and I got working scripts working fine when called from .bat</p>
  
  <p>I don't get it, it looks specific to the print() end argument, what did I not read yet about the way to execute python3 from the windows cmd shell ?</p>
  
  <p>thanks,</p>
  
  <p>Jerome</p>