大家好,我是一个新手,刚开始学python,但是刚开始的helloworld都没法打印,让我很无奈。 我的python安装路径为f:\python31。在path中也设置对了,在windows下运行是这样显示的,希望各位前辈指点一下。谢谢 Python 3.1 (r31:73574, Jun 26 2009, 20:21:35) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> print 'hello world!' SyntaxError: invalid syntax (<pyshell#0>, line 1) >>> python 3.x print ('hello world!')