File>>Settings>>Editor>>File and Code Templates
选择文件类型Python Scripts,输入文件模板类型
#!/usr/bin/env python # encoding: utf-8 """ @version: ?? @author: xushuang @software: ${PRODUCT_NAME} @file: ${NAME}.py @time: ${DATE} ${TIME} """ def func(): pass class Main(): def __init__(self): pass if __name__ == ‘__main__‘:
原文地址:https://www.cnblogs.com/xushuangwaiwai/p/10734906.html
时间: 2024-10-11 13:13:06