From 7d0052f1462b5c02ec4d1cbdfc9cd7f12ed4bff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sat, 12 Oct 2019 16:42:23 +0930 Subject: [PATCH] Import urllib directly instead of from six.moves, as we move away from Python 2 --- 13_loading_and_preprocessing_data.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13_loading_and_preprocessing_data.ipynb b/13_loading_and_preprocessing_data.ipynb index 89fa662..235d271 100644 --- a/13_loading_and_preprocessing_data.ipynb +++ b/13_loading_and_preprocessing_data.ipynb @@ -1268,7 +1268,7 @@ "source": [ "import os\n", "import tarfile\n", - "from six.moves import urllib\n", + "import urllib\n", "\n", "DOWNLOAD_ROOT = \"https://raw.githubusercontent.com/ageron/handson-ml2/master/\"\n", "HOUSING_PATH = os.path.join(\"datasets\", \"housing\")\n",