python:Non-ASCII character ‘\xe2′ in file时间:2024-04-15 17:47:36python 2.7系列的 在运行.py文件时 报错python:Non-ASCII character ‘\xe2′ in file 解决办法: 在文件顶部 加入 # coding: utf-8 重新运行即可消除错误