download_file_from_url¶
-
halotools.utils.
download_file_from_url
(url, fname)[source] [edit on github]¶ Function to download a file from the web to a specific location, and print a progress bar along the way.
Parameters: url : string
web location of desired file, e.g.,
http://www.some.website.com/somefile.txt
.fname : string
Location and filename to store the downloaded file, e.g.,
/Users/username/dirname/possibly_new_filename.txt