pycharm創建python文件自動加上# -*- coding: utf-8 -*-

步驟: 打開pycharm–>File–>Settings–>Editor–>File and Code Templates 然後選擇Python Script 輸入:# -*- coding: utf-8 -*- 勾選:Enable Live Templates 如圖,然後Apply點擊ok就可以了
相關文章
相關標籤/搜索