2023-01-19 11:05:36 +08:00
|
|
|
|
---
|
|
|
|
|
title: Python 风格指南
|
|
|
|
|
description: Python 风格指南
|
|
|
|
|
keywords:
|
2023-11-09 17:30:33 +08:00
|
|
|
|
- Python
|
|
|
|
|
- 风格指南
|
2023-01-19 11:05:36 +08:00
|
|
|
|
tags:
|
2024-10-14 16:48:38 +08:00
|
|
|
|
- FormalSciences/ComputerScience
|
|
|
|
|
- ProgrammingLanguage/Python
|
|
|
|
|
- Python/Projects
|
2023-01-19 11:05:36 +08:00
|
|
|
|
author: 7Wate
|
|
|
|
|
date: 2022-11-19
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## PEP 8 官方风格
|
|
|
|
|
|
|
|
|
|
[PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/)
|
|
|
|
|
|
|
|
|
|
[PEP 8 -- Python 代码风格指南(中文版)](https://github.com/kernellmd/Knowledge/blob/master/Translation/PEP%208%20%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91.md)
|
|
|
|
|
|
|
|
|
|
## Google 风格指南
|
|
|
|
|
|
|
|
|
|
[Google Python Style Guide](https://github.com/google/styleguide)
|
|
|
|
|
|
|
|
|
|
[谷歌 Python 风格指南 - 语言规范(中文版)](https://github.com/zh-google-styleguide/zh-google-styleguide)
|