Search found 1 match

by alphayash
Thu Jul 21, 2022 11:19 pm America/New_York
Forum: Home
Question: Downloading ASDC Data with Python 3
Replies: 22

Re: Downloading ASDC Data with Python 3

The easiest way to download and save a file is to use the urllib.request.urlretrieve function:

import urllib.request
...
# Download the file from `url` and save it locally under `file_name`:
urllib.request.urlretrieve(url, file_name).
import urllib.request
...
# Download the file from `url`, save ...