python里面要处理中文,在模块首行加上以下:(注意要写在第一行,各种注释和import前面) #-*-coding:utf-8-*- 转载于:https://www.cnblogs.com/peterpanzsy/archive/2013/03/31/2992251.html