文件注释
菜单 -> Settings -> Editor -> File and Code Tempaltes -> Python Script -> 填写注释内容
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : ${NAME}.py
# @Time : ${DATE} ${TIME}
# @Author : 作者名字
# @Description : 作者自己写
函数注释
菜单 -> Settings -> Tools -> Python Intrgrated Tools -> 右侧docstrings列表中选择reStructuredText
标签:Settings,Python,注释,File,pycharm,Tools From: https://www.cnblogs.com/verl/p/17980078