Import urllib directly instead of from six.moves, as we move away from Python 2

main
Aurélien Geron 2019-10-12 16:42:23 +09:30
parent f6dfa0ff76
commit 7d0052f146
1 changed files with 1 additions and 1 deletions

View File

@ -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",