问题
print "www.baidu.com"
出现
SyntaxError: Missing parentheses in call to 'print'
原因:Mac安装俩个python版本,2和3,python2系列可以支持 print “xxxx” ,python系列需要使用print("xxx")
问题
print "www.baidu.com"
出现
SyntaxError: Missing parentheses in call to 'print'
原因:Mac安装俩个python版本,2和3,python2系列可以支持 print “xxxx” ,python系列需要使用print("xxx")