SyntaxError: NonASCII character '\xe8' in file Wolrd.py on line 8, but no e 在linux上运行Python文件报这个错误 在文件头部加一句就可以了 # -*- coding: utf-8 -*-