1、打開PyCharm 選擇File-Settings

2、模塊變數描述,并且重新創建一個.py的檔案測驗,檢測是否自動生成頭資訊

3、圖中的內容
#!/usr/bin/python3 # -*- coding: UTF-8 -*- # file:${NAME}.py # user:${USER} # Author: Uparupa # createtime: ${DATE} ${TIME}
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/98260.html
標籤:Python
上一篇:Python必須知道的例外處理
