若让Python程序支持中文,需要在Python代码头部加上 # -*- coding: CP936 -*- 或者 #-*-coding:utf-8 -*- 或者#-*-coding=gbk -*- 相关文章: