Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 4.1 PEP 257 – Docstring Conventions
- tion, and method definition in order to provide information about the functionality of a larger piece o... e blocks or sections. == Docstring vs. comments Before we move on, we need to understand this essential... 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
- 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... the most explicit, concrete, specific one. Therefore, it’s sometimes a good idea to add more verbosit... at it’s easier to manage and handle. Example: Perform five additions of two numbers. {{ :info:cursos:... e too much code in one line, don’t fit too much information into a small amount of code, don’t write li
- 1.1 What is PEP?
- outlines **the language standards and provides information about many changes and processes related to... f Python Enhancement Proposals (PEPs) to find out for yourself that they’re no idle words. It would be remarkable, but unfortunately quite a challenge, to cover them all in this course. For this reason, we’ve picked four of them that deser