pycharm

header 设置 File->Settings->Editor->File and Code Templates->Python Script

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : ${DATE} ${TIME}
# @Author  : 
# @Project : ${PROJECT_NAME}
# @File : ${NAME}.py
# @Software: ${PRODUCT_NAME}

DocStrings设置:
Tools -> Python Integraded Tools -> DocStrings

显示空格和tab:

posted @ 2023-02-15 23:32  茫茫碧落  阅读(21)  评论(0编辑  收藏  举报