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