点击File–>Settings–>
点击Editor–>File and Code Templates–>Python Script,填写以下信息
##!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Author : author_name
# @Time : ${DATE} ${TIME}
新建Python File
即可看到会自动生成设定的信息
点击File–>Settings–>
点击Editor–>File and Code Templates–>Python Script,填写以下信息
##!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Author : author_name
# @Time : ${DATE} ${TIME}
新建Python File
即可看到会自动生成设定的信息