Ejemplo: descargar archivos de Python de Azure Blob Storage
# 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 nt" + download_file_path)
with open(download_file_path, "wb") as download_file:
download_file.write(blob_client.download_blob().readall())
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)