Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 使用 Python 3 打印时出现语法错误
例如,如果我只是从命令行使用“python”启动 python 然后运行类似
print "test"
它会引发语法错误。这真的很奇怪,但是像这样的陈述
1+1
工作正常。
我的朋友,您不再安装 2.7。
这可能会有所帮助
http://wiki.python.org/moin/Python2orPython3