Asked By – itdoesntwork
Long story short:
pythonw.exe does nothing,
python.exe accepts nothing (which one should I use?)
C:\path>pythonw.exe test.py <BLANK LINE> C:\path> C:\path>python.exe test.py File "C:\path\test.py", line 7 print "a" ^ SyntaxError: invalid syntax C:\path>
Please tell me what I’m doing terrible wrong.
Now we will see solution for issue: pythonw.exe or python.exe?
If you don’t want a terminal window to pop up when you run your program, use
Regarding the syntax error:
So use instead:
This question is answered By – mechanical_meat
This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0