diff --git a/Scripting/Python/Manip-donnees.html b/Scripting/Python/Manip-donnees.html index 4a1f2b1..f0dff18 100644 --- a/Scripting/Python/Manip-donnees.html +++ b/Scripting/Python/Manip-donnees.html @@ -2,7 +2,7 @@ title: Python - Manipulation des données description: published: true -date: 2021-11-05T14:32:35.933Z +date: 2021-11-17T10:26:44.628Z tags: editor: ckeditor dateCreated: 2021-06-07T08:01:47.026Z @@ -149,6 +149,10 @@ with open('voitures.json') as file: #Fonctionne pour tout type de fichier. ‘w’ Ouvre en écriture, en effaçant le contenu du fichier + + ‘r+’ + Ouvre en écriture, sans effacer le contenu déjà existant + ‘x’ Ouvre en création exclusive. Échoue si le fichier existe déjà