《Google 建議的 Python 風格指南》懶人包

Google Python 風格指南-命名規則, Main, 編後語 一文,凍仁把《[翻譯] Google 建議的 Python 風格指南》該系列其餘的文章連結也整理了,相信多個目錄會更便於大家學習 Python。

目錄:
01. pychecker
02. Imports
03. Packages

04. Exceptions
05. Global variables
06. 嵌套/局部/內部 類別與函數
07. list comprehension
08. Default Iterators and Operators
09. Generators
10. Lambda Functions
11. 條件表達式
12. Default Argument Values
13. 屬性 (property)
14. True/False evaluations
15. 不建議使用的python語法
16. 靜態可視範圍
17. Function and Method Decorators
18. 執行緒 (thread)
19. 威力強大的功能

20. Semicolons
21. Line length
22. Parentheses
23. Indentation
24. Blank Lines
25. Whitespace
26. Shebang Line

27. 註解
28. 類別
29. 字串

30. 檔案與接口 (Socket)
31. TODO 註解
32. import 格式

33. 敘述
34. 存取控制

35. 命名規則
36. Main
37. 編後語:保持一致


站內連結:
Google Python 風格指南-命名規則, Main, 編後語

相關連結:
Python 程式碼風格指引 - OpenFoundry
Google Python 风格指南 - 中文版 — Google 开源项目风格指南
Python / Python 編碼風格指南中譯版 (Google SOC) | Elias 的個人主頁

留言

Popular Articles

sudo 指令使用說明