1、python2的语法
##python2 的两种输出
1 print('hello world')
2
3 print 'hello python'
##对中文的识别
# _*_ coding:utf-8 _*_ ##需要设置编码方式为utf-8
print '您好'
2、python3的语法
##python3的输出
1 print('hello world')
2
##对中文的识别
print '您好' ##可直接识别中文