pythonpython-3.xsyntax

Installed Python on Windows 8, getting syntax errors on simple statements


If I just start python from the command line with python then run something like print "test", I get a syntax error. Statements like 1+1 work fine. Is something wrong with my new Python installation?


Solution

  • You don't have 2.7 installed any more, my friend.

    this might be helpful

    http://wiki.python.org/moin/Python2orPython3