标题python中报错file was loaded in the wrong encoding:“utf-8”怎么解决? 在打开文件open函数标记为“encoding=‘utf-8’”即可解决 斜体样式注意要把报错的文件重启一次才行。