接触Python遇到一个问题。

刚接触Python,装上一个Python3.0的版本。在path下加入C:\Python30(我是直接装置c:\下的)。

开始就来个问题,

输入

>>> print "he"

直接给我报错,这个是怎么回事?

 

Python 3.0 (r30:67507, Dec  3 2008, 20:14:27) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
    
IDLE 3.0      
>>> print "he"
SyntaxError: invalid syntax (<pyshell#0>, line 1)
>>> 
 谁帮忙能给我解释一下啊?

 

 

你可能感兴趣的:(C++,c,python,C#)