让PYthon支持中文

回复 星标
更多

让PYthon支持中文

在每个.py文件开头加上下面的代码即可

#!/usr/bin/python
#coding=utf-8
此帖已被锁定,无法回复
新窗口打开 关闭