Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 4.1 PEP 257 – Docstring Conventions
- ction (as their names suggest): comments are used for **commenting** your code, while docstrings are used for **documenting** your code. So, what is the differ... menting code important? Essentially, we must not forget this simple rule by Guido van Rossum: "**Code ... ode** you're describing in order to make it clear for the reader which part of the code you're referrin
- 3.1 PEP 8 – Introduction
- at provides coding conventions (code style guide) for Python code. PEP 8 is considered one of the most important PEPs and a must-read for every professional Python programmer, as it helps... ines may be favored over the conventions provided for by PEP 8, especially in the case of any conflicts... and practices. In our case, it means we must not forget about one simple but important observation:**
- 2.1 PEP 20 – The Zen of Python
- at you see is a collection of some general truths for Python design rules and decision making. Even tho... to think up meaningful names, the effort taken to format your code, or any other reason – reject the te... n to your code after some time, or leave the code for others to develop in the future. Giving **meanin... complexity of a given problem should be an excuse for writing code that does not follow the guidelines.
- 1.1 What is PEP?
- f Python Enhancement Proposals (PEPs) to find out for yourself that they’re no idle words. It would be... te a challenge, to cover them all in this course. For this reason, we’ve picked four of them that deser... ces general guidelines; * **PEP 8 – Style Guide for Python Code**, which gives conventions and presents best practices for Python coding; * **PEP 20 – The Zen of Python**