打开pycharm,快捷键ctrl + alt + s 打开模板设置自己所需内容

完整打开路径:file>settings>editor>code style>file and code templates>python script

 

#!/usr/bin/python
# -*- coding: UTF-8 -*-
# @date: ${DATE} ${TIME}
# @name: ${NAME}
# @author:vickey-wu

 

官网设置模板的链接:https://www.jetbrains.com/help/pycharm/2017.1/creating-and-editing-file-templates.html

 

相关文章:

  • 2021-08-14
猜你喜欢
  • 2021-06-28
  • 2022-12-23
  • 2021-12-12
  • 2021-06-28
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案