欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

《转》Pycharm创建py文件时自定义头部模板

程序员文章站 2022-10-16 17:11:09
File->settings->Editor->File and Code Templates->Python Script #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : ${DATE} ${TIME} # @Author : Ari ......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @time    : ${date} ${time}
# @author  : aries
# @site    : ${site}
# @file    : ${name}.py
# @software: ${product_name}