Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4
PEP 20 "The Zen of Python" is basically some ideals on how you should make your code easy to read and understand in an unambiguous pythonic way, making sure to handle errors so that the end user ins't left wondering what happened when something goes wrong. https://www.python.org/dev/peps/pep-0020/ PEP 257 "Docstring Conventions" is a simple "how to" or "the basics" for docstrings. Other PEP's will explain further about designs, formatting etc. https://www.python.org/dev/peps/pep-0257/
2nd Apr 2018, 12:54 AM
ChaoticDawg
ChaoticDawg - avatar