一、PyCharm 設置作者信息模板
1、File---Settings---在搜索框中搜索:File and Code Templates---Python scripts
1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 #Author: nulige
二、修改解釋器方法
File---settings---project:python---project interpreter
三、設置軟件UTF-8 編碼
File---Settings----搜索框中搜(File encodings )----圖上標記地方,全改成UTF-8