Python 3.4 introduced a problem with use of
# -*- coding: ASCII -*-
so when running on Windows, the EOL must be Windows type, and else an error is generated.
See trials below:
C:\>Python34\python.exe hello_unix.py
File "hello_unix.py", line 3
II -*-
^
SyntaxError: invalid syntax
C:\>Python34\python.exe hello_win.py
Hello Python version 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:24:06) ...
C:\>Python33\python.exe hello_unix.py
Hello Python version 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) ...
C:\>Python33\python.exe hello_win.py
Hello Python version 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) ... |