>>> print "hello" SyntaxError: Missing parentheses in call to 'print' 错误原因说你的函数print缺省圆括号,可以知道你用的python是3.x版本3.x版本的python,print中的参数要用圆括号括起来,改成:print("hello")