美文网首页系统运维专家
pycharm中python文件模版

pycharm中python文件模版

作者: 以梦为马ll不负韶华 | 来源:发表于2019-07-01 12:03 被阅读0次

!/usr/bin/env python

encoding: utf-8

"""
@author: xxxx
@license: (C) Copyright 2018-2020, xxxx
@contact: xxxx@xxxx.cn
@software:
@version:1.0.0
@file: {NAME}.py @time:{DATE} ${TIME}
@desc:
"""

将上述内容贴在File->Settings的Editor下面File and Code Templates下的Python Script里即可,以后每次新建python文件时会自动带上这个文件头

相关文章

网友评论

    本文标题:pycharm中python文件模版

    本文链接:https://www.haomeiwen.com/subject/egcgcctx.html