python2和3有些不一样:

python2:输出为print 'hello world'

python3:输出为print('hello world')

print在3里是函数,并且用urllib.request代替了urllib2;

相关文章: