I am trying to upload a .csv
file into Microsoft Azure storage account using python. I have found C-sharp code to write a data to blob storage. But, I don't know C#
language. I need to upload .csv
file using python.
Is there any example of python to upload contents of CSV file to Azure storage?
Based on my understanding, I think you want to upload the data of
csv
file into Azure Table Storage. According to the doc of pythoncsv
package & the offical tutorial for Azure Storage Python SDK, I made the sample code & csv data as below.For example, the data of my testing csv file as below.
And the sample code.
Hope it helps.
I found the solution using this reference link. My following code perfectly work for uploading and downloading
.csv
file.