如题所述
需要在设置里面修改一下默认编码:
进入file>setting,在输入框搜索encoding
参考:
Python | 设置PyCharm支持中文http://jingyan.baidu.com/article/c843ea0ba55f0977931e4ab4.html