Long story short: pythonw.exe does nothing, python.exe accepts nothing (which one should I use?)
pythonw.exe
python.exe
test.py:
print \"a\"
If you don't want a terminal window to pop up when you run your program, use pythonw.exe; Otherwise, use python.exe
Regarding the syntax error: print is now a function in 3.x So use instead:
print
print("a")