Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 2.1 PEP 20 – The Zen of Python
- tice. Example: Import ''apples'' and ''bananas'' from the //fruit.py// module. {{ :info:cursos:pue:pyt... ormally walk the distance if you wanted to travel from the UK to the USA. Taking a plane would be a more... ay a message whether or not x is within the range from 4 to 6. {{ :info:cursos:pue:python-pcpp1:m2:past... problems and output a fine result. Although, far from expected. If the snippet constitutes just a tiny
- 3.1 PEP 8 – Introduction
- are being identified as obsolete and discouraged from being followed. == The Hobgoblin of Little Minds... s the hobgoblin of little minds.” This is a quote from Ralph Waldo Emerson’s essay “Self-Reliance” where... nevitable, use Python’s implied line continuation from the previous page. In the case of docstrings and... t’s correct to make a one-line import using the ''from … import …'' syntax: <code python ✔> from subproc
- 4.1 PEP 257 – Docstring Conventions
- names to variables). == When use comments? Apart from the most obvious cases, such as **code and algori... ew words on type hints: PEP 484 Before we move on from talking about comments to elaborating on docstrin... formation in your code. The first example is free from any type hints. In the second example, the ''str... vent or detect some of the errors that may result from the dynamic nature of Python. (However, we're not
- 1.1 What is PEP?
- lize the image of Pep, the dog, a funny character from a popular children’s Atari computer game of the e... **enevolent **D**ictator **F**or **L**ife until 2018, when he resigned from the decision-making process.