Cerca

Heus ací els resultats de la cerca.

3.1 PEP 8 – Introduction
154 Resultats, Darrera modificació:
8 is a document that provides coding conventions (code style guide) for Python code. PEP 8 is considered one of the most important PEPs and a must-read for e... sional Python programmer, as it helps to make the code more consistent, more readable, and more efficien... about one simple but important observation:** our code will be read much more often than it will be writ
4.1 PEP 257 – Docstring Conventions
101 Resultats, Darrera modificació:
regulations!) associated with documenting Python code using docstrings. In short, it tries to answer th... tion about the functionality of a larger piece of code in a **prescriptive** way. They help programmers... urpose, operation, and capabilities of particular code blocks or sections. == Docstring vs. comments Bef... ggest): comments are used for **commenting** your code, while docstrings are used for **documenting** yo
2.1 PEP 20 – The Zen of Python
72 Resultats, Darrera modificació:
e editor window, type in ''import this'', run the code, and voilà! Can you see what happens? What you s... e encouraged to accept them and implement in your code. These, of course, should be looked upon holisti... 7.png }} == Explicit is better than implicit The code you write should be **explicit and readable**. W... onality. If not, think about leaving a comment in code to explain what’s going on so that other programm
1.1 What is PEP?
1 Resultats, Darrera modificació:
guidelines; * **PEP 8 – Style Guide for Python Code**, which gives conventions and presents best prac