-
-
[转帖]Python Best Practices: Learn to Write Clean Python Code
-
发表于: 2021-1-21 09:53 1581
-
Python Best Practices: Learn to Write Clean Python Code
Genre: eLearning | MP4 | Video: h264, 1280x720 | Audio: aac, 44100 Hz
Language: English | VTT | Size: 1.62 GB | Duration: 5h 19m
What you'll learn
How to write Clean Python Code following the Python Style Guide (PEP 8).
Best practices for naming variables, functions, classes, methods, and sequences.
How to document your code with block comments, in-line comments, and docstrings.
How to write clean Python loops with enumerate, zip, break, and the else clause.
Best practices for indentation, line breaks, blank lines, and whitespaces in Python.
Best Practices to work with Object-Oriented Programming in Python.
Tips to write more "pythonic" code (swap variables, list comprehensions, merge dictionaries, the walrus operator, and more).
How to work with files following the Python Style Guide.
https://www.0daydown.com/01/1540113.html
链接:https://pan.baidu.com/share/init?surl=rlZ-ZTXvsF1H0xtwKEaFTg 提取码: qvsx