Cerca

Heus ací els resultats de la cerca.

3.1 PEP 8 – Introduction
41 Resultats, Darrera modificació:
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... oject, it may be better to ignore them and decide for yourself what is best. As PEP 8 says: //A style
4.1 PEP 257 – Docstring Conventions
35 Resultats, Darrera modificació:
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... ode** you're describing in order to make it clear for the reader which part of the code you're referrin... , comments may serve a few other useful purposes. For example: * they can help you **tag** those sec
2.1 PEP 20 – The Zen of Python
22 Resultats, Darrera modificació:
at you see is a collection of some general truths for Python design rules and decision making. Even tho... 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.... the real-world coding problems may find an excuse for making an exception to the rules. Practicality th
1.1 What is PEP?
11 Resultats, Darrera modificació:
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**