在Python的程序中加了中文注释会报错 解决方法是:在程序的最开始位置加入 # -- coding: utf-8 -- 转载于:https://www.cnblogs.com/wuyepeng/p/10100567.html