From 59de77bb9d26d1f90955f9d5754e6e408daeff5a Mon Sep 17 00:00:00 2001 From: a6a8e0f601822270ca754f29f77749b6 Date: Wed, 23 Sep 2020 14:24:29 +0000 Subject: [PATCH] =?UTF-8?q?Premi=C3=A8re=20execution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo4/Info_Journal.csv | 0 module2/exo4/exercice.ipynb | 13 ++++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 module2/exo4/Info_Journal.csv diff --git a/module2/exo4/Info_Journal.csv b/module2/exo4/Info_Journal.csv new file mode 100644 index 0000000..e69de29 diff --git a/module2/exo4/exercice.ipynb b/module2/exo4/exercice.ipynb index f84eeaf..2762a57 100644 --- a/module2/exo4/exercice.ipynb +++ b/module2/exo4/exercice.ipynb @@ -26,12 +26,12 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ - "NomFichentree = \"work/Journal/Readme_Journal.md\"\n", - "NomFichsortie = \"work/module2/exo4/Info_Journal.csv\"\n", + "NomFichentree = \"../../journal/Readme.md\"\n", + "NomFichsortie = \"./Info_Journal.csv\"\n", "\n", "with open(NomFichsortie, \"w\", encoding='utf-8') as sortie:\n", " with open(NomFichentree, \"r\", encoding='utf-8') as entree:\n", @@ -44,6 +44,13 @@ " for mot in listemots:\n", " sortie.write(f\"{date};{mot}\\n\")" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { -- 2.18.1