我剛剛安裝了Python 3.1.3,並嘗試從Python Shell運行最基本的打印。下面是shell的c/p。我已經失去了。爲什麼會出現語法錯誤?由東西here來判斷它不應該是。剛剛安裝了Python,爲最基本的打印獲取語法錯誤
Python 3.1.3 (r313:86834, Nov 27 2010, 17:20:37) [MSC v.1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> print "test"
SyntaxError: invalid syntax
>>> print 'test'
SyntaxError: invalid syntax
>>>
http://stackoverflow.com/questions/826948/python-syntax-error-on-print – user470379