How To Upload File To Azure Blob Using Python
HTML-код
- Опубликовано: 3 дек 2024
- Blog: www.shwetalodha...
Medium: / shweta-lodha
Medium referral link: / membership
Source Code: / uploading-file-to-azur...
Watch out full Python playlist: • #1 Python for Beginner...
Watch out full Python Pandas playlist: • #1 Python Pandas: Intr...
#Python #PythonProgramming #tipsandtricks
You didn't use the storage_account_key and storage_account_name anywhere. So why do we save them?
This was a fantastic tutorial and exactly what I was looking for. Thank you for keeping it simple and straightforward!
Glad it was helpful!
Your explanation was easy to understand. Thank you
quick and precise, thanks
Amazing tutorial, worked perfectly for me! Thanks for sharing!
Great to hear!
Thank you. Very good. How do you upload to a specific subfolder in the container?
Check this video - How To Create A Subfolder Inside Azure Blob Container Using Python
ruclips.net/video/Bnrargw-eM0/видео.html
@@shweta-lodha thank you. I finally got it done.
this is working. But how to upload multiple png or csv files
OMG, fantastic tutorial!! Thanks :)!!
What are storage_account_key and storage_account_name used for, I did't see anywhere to use it
Good catch!
Thank you. This was very helpful. One question - How can we upload a file inside a folder in a container, considering there are many folders in that container?
My most recent video explains this: ruclips.net/video/Bnrargw-eM0/видео.html
great explanation, thank you
I Want to load data from a csv file to pandas dataframe What should i do? do you have any vodeo?
import pandas as pd
df = pd.read_csv('my.csv')
Thanks! Greets from Perú
Thanks for watching Jeremy. Nice to meet you!
If we want to get the all folder name present any one of the container then what should I do
That is straight forward, check out this sample code:
from azure.storage import BlobService
blob_service = BlobService(account_name="Take From Azure portal", account_key="Take From Azure portal")
results = blob_service.list_blobs(container_name='Take From Azure portal', delimiter='/')
for item in results.prefixes:
print(item.name)
Super useful!
Glad you think so!
thankyou that was very good
Glad it helped
Awesome
thankyou
You're welcome!
…great explanation, but the upload speed 🤦♂️
Will shortly make another video to explain how can you do this in chunks :)