python:Non-ASCII character ‘xe2′ in file

python 2.7系列的  在运行.py文件时 报错python:Non-ASCII character ‘xe2′ in file

解决办法:  在文件顶部 加入  #  coding: utf-8

重新运行即可消除错误

原文地址:https://www.cnblogs.com/guohaoblog/p/10005645.html