![图片[1]-pycharm无法输入中文-uusu优素-乐高,模型,3d打印,编程](http://uusucn.zbbe.cn/wp-content/uploads/2024/01/5f3dcd5a18a98204.jpg)
1、依次点击【File】—【Setting】—【Editor】—【File Encoding】页面,设置global 和project encoding为UTF-8


2、依次点击【File】—【Setting】—【Editor】—【File and Code Templates】,点击右边的【python script】,在编辑框中输入:#-*-coding:utf-8-*-,保存设置

3、重启pycharm即可
原文来自:https://www.py.cn© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END



















































暂无评论内容