1、PEP8?
一种编码规范,如英语之于语法,尤为重要。
不断进步发展,紧跟时代潮流
2、官方文档及翻译地址?
官方文档:
https://legacy.python.org/dev/peps/pep-0008/
中文文档:
https://blog.csdn.net/ratsniper/article/details/78954852#fn:7
3、懒人的PEP8神器—autopep8?
autopep8是一款将python代码自动排版为PEP8风格的工具,能拯救编码不规范者于电光火石之间。
4、How do in pycharm?
4.1 pipinstall autopep8
4.2 Pycharm中配置autopep8
a)、进入External Tools
b)、这部分需要配置五个内容
1、Name:autopep8(起名而已,随便起)
2、Program: autopep8
3、Arguments:--in-place –aggressive –aggressive$FilePath$