blob-upload-4_3.py 351 B

123456
  1. def download_file_from_blob(source, download_file_path):
  2. blob_client = blob_service_client.get_blob_client(container=container_name, blob=source)
  3. print("\nDownloading blob to \n\t from container" + download_file_path)
  4. with open(download_file_path, "wb") as download_file:
  5. download_file.write(blob_client.download_blob().readall())