pycharm的文件编码设置

在setting,Editor,File Encoding下,

如果出现中文乱码,可以试试将Global Encoding改为GBK

原文地址:https://www.cnblogs.com/hupingzhi/p/12032131.html