Re: Why a time of the real world must be galilean (space-contraction)

Liste des GroupesRevenir à fs maths 
Sujet : Re: Why a time of the real world must be galilean (space-contraction)
De : dominique.sextant (at) *nospam* orange.fr.invalid (Dominique)
Groupes : fr.sci.maths
Date : 06. Jan 2025, 09:07:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlg30a$1h1p3$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla Thunderbird
Le 05/01/2025 à 22:20, Python a écrit :

En Python 2 (sauf si "from __future__ import print_function") print est une instruction et pas une fonction. Donc "print (...)" affiche le tuple défini par "(...)". En P3 la fonction print affiche ses arguments séparés (par défaut) par une espace et ajoute un saut de ligne (par défaut).

La spécification de l'encodage était obligatoire en Python 2 dès lors qu'on sortait de ASCII 7 bits, ne serait-ce que pour un commentaire. En Python 3 la spécification de l'encodage est optionnelle et utf-8 est supposé en l'absence d'annotations.
Je te remercie pour ces deux précisions que je ne connaissais pas 😃
--
Dominique
Esto quod es

Date Sujet#  Auteur
16 Dec 24 * Re: Why a time of the real world must be galilean (space-contraction)16Richard Hachel
19 Dec 24 +- Re: Why a time of the real world must be galilean (space-contraction)1Python
5 Jan 25 `* Re: Why a time of the real world must be galilean (space-contraction)14Dominique
5 Jan 25  `* Re: Why a time of the real world must be galilean (space-contraction)13Dominique
5 Jan 25   `* Re: Why a time of the real world must be galilean (space-contraction)12Dominique
5 Jan 25    `* Re: Why a time of the real world must be galilean (space-contraction)11robby
5 Jan 25     +* Re: Why a time of the real world must be galilean (space-contraction)2Python
7 Jan 25     i`- Re: Why a time of the real world must be galilean (space-contraction)1robby
5 Jan 25     +- Re: Why a time of the real world must be galilean (space-contraction)1Thomas Alexandre
5 Jan 25     +* Re: Why a time of the real world must be galilean (space-contraction)3Dominique
5 Jan 25     i`* Re: Why a time of the real world must be galilean (space-contraction)2Python
6 Jan 25     i `- Re: Why a time of the real world must be galilean (space-contraction)1Dominique
5 Jan 25     `* Re: Why a time of the real world must be galilean (space-contraction)4Michel Talon
5 Jan 25      +* Re: Why a time of the real world must be galilean (space-contraction)2efji
6 Jan 25      i`- Re: Why a time of the real world must be galilean (space-contraction)1Dominique
7 Jan 25      `- Re: Why a time of the real world must be galilean (space-contraction)1robby

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal