Import urllib directly instead of from six.moves, as we move away from Python 2
parent
f6dfa0ff76
commit
7d0052f146
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue