#coding=utf-8用于在python脚本输出中显示中文

#coding=utf-8用于在python脚本输出中显示中文

注:
前有“#”

vi a1.py

#!/usr/bin/python
#coding=utf-8

print "我叫xxxx"
:wq

python a1.py

猜你喜欢

转载自blog.51cto.com/yangzhiming/2127944