4

Style Guide for Python Code

 3 years ago
source link: https://lineuman.github.io/blog/python/2017/06/22/pep8.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Style Guide for Python Code

Style Guide for Python Code

Jun 22, 2017

PEP8-可以理解为python代码风格规范 python的标准库代码基本上都遵循此规范。

Code lay-out

Indentation

Use 4 spaces per indentation level.

Neuman's blog

My name is neuman, I am a primary coder. Last two years, I worked as a software test engineer. Now, I spend time on security and web development. If you like my blog, please give me some advice.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK