@Peter Are you able to unzip the file using any apps/tools and read it? Is it any different than a regular zip file? Please let me know. Thanks!
How to decrypt data of a zip file downloaded from a blob storage using Python?
Peter
26
Reputation points
Hello everyone,
I download a zip file from a Azure Blob Storage using this code:
blob_client_instance = blob_service_client_instance.get_blob_client(
"container_name", "Test_Zip.zip", snapshot=None)
blob_data = blob_client_instance.download_blob()
data = blob_data.readall()
The output of data is bytes type, which is not readable at all. How can I use the downloaded zip file? Or is there a way how I can store the zip file locally immediately without using the readall() function?
I'd appreciate any help.
Regards
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,212 questions