Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork264
tuto inputoutput#332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
tuto inputoutput#332
Changes from1 commit
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -219,7 +219,7 @@ identifier identifiant | ||
| immutable immuable | ||
| interpreter interpréteur | ||
| library bibliothèque | ||
| list comprehension liste en compréhension (liste enintensions est | ||
| ||
| valide, mais nous ne l'utilisons pas) | ||
| little-endian, big-endian `petit-boutiste, gros-boutiste | ||
| <https://fr.wikipedia.org/wiki/Endianness>`_ | ||
| @@ -237,6 +237,7 @@ socket *socket* | ||
| statement instruction | ||
| thread fil d'exécution | ||
| underscore tiret bas, *underscore* | ||
| expression expression | ||
| ||
| ========================== =========================================== | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -6,14 +6,14 @@ msgstr "" | ||
| "Project-Id-Version: Python 3.6\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2018-08-03 17:52+0200\n" | ||
| "PO-Revision-Date: 2018-10-04 10:41+0200\n" | ||
| "Last-Translator: \n" | ||
| "Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||
| "Language: fr\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "X-Generator: Poedit 2.1.1\n" | ||
| #: ../Doc/tutorial/inputoutput.rst:5 | ||
| msgid "Input and Output" | ||
| @@ -53,6 +53,9 @@ msgid "" | ||
| "simply printing space-separated values. There are several ways to format " | ||
| "output." | ||
| msgstr "" | ||
| "Souvent vous voudrez plus de contrôle sur le formatage de vos sorties et " | ||
| "aller au delà d’un affichage de valeurs séparées par des espaces. Il y a " | ||
| "plusieurs moyens de les formater." | ||
| #: ../Doc/tutorial/inputoutput.rst:25 | ||
| msgid "" | ||
| @@ -61,6 +64,11 @@ msgid "" | ||
| "Inside this string, you can write a Python expression between ``{`` and ``}" | ||
| "`` characters that can refer to variables or literal values." | ||
| msgstr "" | ||
| "Pour utiliser :ref: `les expressions formatées <tut-f-strings>`, commencez " | ||
| "une chaine de caractère avec ``f``ou ``F`` avant d’ouvrir vos guillemets " | ||
| ||
| "doubles ou triples. Dans ces chaines de caractère, vous pouvez entrer des " | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. s/caractère/caractères/ | ||
| "expressions Python entre les caractères ``{``et ``}`` qui peuvent contenir " | ||
| ||
| "des variables ou des valeurs littérales." | ||
| #: ../Doc/tutorial/inputoutput.rst:36 | ||
| msgid "" | ||
| @@ -69,6 +77,11 @@ msgid "" | ||
| "substituted and can provide detailed formatting directives, but you'll also " | ||
| "need to provide the information to be formatted." | ||
| msgstr "" | ||
| "La méthode :meth: `str.format` sur les chaines de caractères exige un plus " | ||
| "grand effort manuel. Vous utiliserez toujours les caractères ``{``et ``}" | ||
| "``pour indiquer où une variable sera substituée et donner des détails sur " | ||
| "son formatage, mais vous devrez également fournir les informations à " | ||
| "formater." | ||
| #: ../Doc/tutorial/inputoutput.rst:48 | ||
| msgid "" | ||
| @@ -90,7 +103,7 @@ msgstr "" | ||
| "Lorsque qu'un affichage basique suffit, pour afficher simplement une " | ||
| "variable pour en inspecter le contenu, vous pouvez convertir n'importe " | ||
| "quelle valeur en chaîne de caractères en utilisant la fonction :func:`repr` " | ||
| "ou la fonction :func:`str`." | ||
| #: ../Doc/tutorial/inputoutput.rst:57 | ||
| msgid "" | ||
| @@ -132,7 +145,7 @@ msgstr "" | ||
| #: ../Doc/tutorial/inputoutput.rst:98 | ||
| msgid "Formatted String Literals" | ||
| msgstr "Les chaines de caractère formatées (*f-strings*)" | ||
| #: ../Doc/tutorial/inputoutput.rst:100 | ||
| msgid "" | ||
| @@ -141,6 +154,10 @@ msgid "" | ||
| "prefixing the string with ``f`` or ``F`` and writing expressions as " | ||
| "``{expression}``." | ||
| msgstr "" | ||
| ":ref:`Les chaines de caractère formatées <f-strings>` (aussi appelées f-" | ||
| ||
| "strings) vous permettent d’inclure la valeur d’expressions Python dans des " | ||
| "chaines de caractères en les préfixant avec ``f`` ou ``F`` et écrire des " | ||
| "expressions comme ``{expression}``." | ||
| #: ../Doc/tutorial/inputoutput.rst:105 | ||
| msgid "" | ||
| @@ -166,16 +183,21 @@ msgid "" | ||
| "a'`` applies :func:`ascii`, ``'!s'`` applies :func:`str`, and ``'!r'`` " | ||
| "applies :func:`repr`::" | ||
| msgstr "" | ||
| "D’autres modificateurs peuvent être utilisés pour convertir la valeur avant " | ||
| "son formatage. ``’!a’`` applique :func:`ascii`, ``’!s’`` applique :func:" | ||
| ||
| "`str`, and ``’!r’`` applique :func:`repr`::" | ||
| #: ../Doc/tutorial/inputoutput.rst:133 | ||
| msgid "" | ||
| "For a reference on these format specifications, see the reference guide for " | ||
| "the :ref:`formatspec`." | ||
| msgstr "" | ||
| "Pour une référence sur ces spécifications de formats, voir le guide de " | ||
| "référence pour les :ref:`formatspec`." | ||
| #: ../Doc/tutorial/inputoutput.rst:139 | ||
| msgid "The String format() Method" | ||
| msgstr "La méthode de chaine de caractères format()" | ||
| ||
| #: ../Doc/tutorial/inputoutput.rst:141 | ||
| msgid "Basic usage of the :meth:`str.format` method looks like this::" | ||
| @@ -224,7 +246,7 @@ msgid "" | ||
| "This could also be done by passing the table as keyword arguments with the " | ||
| "'**' notation. ::" | ||
| msgstr "" | ||
| "Vous pouvez obtenir le même résultat en passant le tableau comme des " | ||
| "arguments nommés en utilisant la notation ``**`` ::" | ||
| #: ../Doc/tutorial/inputoutput.rst:186 | ||
| @@ -240,6 +262,9 @@ msgid "" | ||
| "As an example, the following lines produce a tidily-aligned set of columns " | ||
| "giving integers and their squares and cubes::" | ||
| msgstr "" | ||
| "A titre d’exemple, les lignes suivantes produisent un ensemble de colonnes " | ||
| "alignées de façon ordonnée donnant les entiers, leurs carrés et leurs " | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. s/ordonnée/propre/ ? ou convenablement ? | ||
| "cubes ::" | ||
| ||
| #: ../Doc/tutorial/inputoutput.rst:206 | ||
| msgid "" | ||