Skip to content
Advertisement

How can I read a text file from Azure blob storage directly without downloading it to a local file(using python)?

How can i reads a text blob in Azure without downloading it? I am able to download the file and then read it but, i prefer it to be read without downloading.

JavaScript

Is there any operation in ‘blob1’ object, which would allow me to read the text file directly.(like blob1.read or blob1.text or something like this)?

Advertisement

Answer

You can use get_blob_to_text method.

JavaScript
Advertisement