Cerca

Heus ací els resultats de la cerca.

2.1 PEP 20 – The Zen of Python
16 Resultats, Darrera modificació:
time major contributor to the Python programming language and Python community, wrote this 19-line po... enever you want to use an implicit feature of the language, ask yourself whether you really need it. M... over a simple one, especially in the case of the latter causing misunderstanding, doubt, or misinterp... possible benefits (e.g., better performance) are larger than the possible negative effects (e.g., aff
4.1 PEP 257 – Docstring Conventions
14 Resultats, Darrera modificació:
conventions**, best practices, and semantics (not laws or regulations!) associated with documenting Py... provide information about the functionality of a larger piece of code in a **prescriptive** way. The... that may come up in the development process, and label specific names with type information. In a nu... elated information in docstrings, you can use the language itself to serve this purpose. This may be a
3.1 PEP 8 – Introduction
5 Resultats, Darrera modificació:
* Documentation: https://pycodestyle.pycqa.org/en/latest/ * You can also install **autopep8** to aut... pep8online.com/about == Recommendations for Code Layout PEP 8 is supposed to make your coding experie... will never be read by people who don’t speak your language.) * Comments should consist of no more th... al with docstrings when we talk about **PEP 257** later in the course. For the time being, you just ne
1.1 What is PEP?
4 Resultats, Darrera modificació:
point to an online document, which outlines **the language standards and provides information about ma... e, as you may expect, we’re going to focus on the last of the many PEPs. == In the jungle of PEPs The... * **Standards Track** PEPs, which describe new language features and implementations; * **Informa... t – you never know when you’re going to need it! Last but not least, PEP 1 defines: * //Python’s S