1# Download the blob to a local file
2# Add 'DOWNLOAD' before the .txt extension so you can see both files in the data directory
3download_file_path = os.path.join(local_path, str.replace(local_file_name ,'.txt', 'DOWNLOAD.txt'))
4print("\nDownloading blob to \n\t" + download_file_path)
5
6with open(download_file_path, "wb") as download_file:
7 download_file.write(blob_client.download_blob().readall())
8