Answers for "download files from azure blob storage python"

-1

download files from azure blob storage python

# Download the blob to a local file
# Add 'DOWNLOAD' before the .txt extension so you can see both files in the data directory
download_file_path = os.path.join(local_path, str.replace(local_file_name ,'.txt', 'DOWNLOAD.txt'))
print("\nDownloading blob to \n\t" + download_file_path)

with open(download_file_path, "wb") as download_file:
    download_file.write(blob_client.download_blob().readall())
Posted by: Guest on May-10-2021

Code answers related to "download files from azure blob storage python"

Python Answers by Framework

Browse Popular Code Answers by Language