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

Комментарии • 34

  • @KANISHKKASHAYAP
    @KANISHKKASHAYAP Год назад +7

    You didn't use the storage_account_key and storage_account_name anywhere. So why do we save them?

  • @joncrosby1
    @joncrosby1 2 года назад +7

    This was a fantastic tutorial and exactly what I was looking for. Thank you for keeping it simple and straightforward!

  • @tadeojo5413
    @tadeojo5413 Год назад +1

    Your explanation was easy to understand. Thank you

  • @iamkirankumarkv
    @iamkirankumarkv Год назад +1

    quick and precise, thanks

  • @RodrigoRockChannel
    @RodrigoRockChannel 2 года назад +2

    Amazing tutorial, worked perfectly for me! Thanks for sharing!

  • @timsvab5350
    @timsvab5350 2 года назад +1

    Thank you. Very good. How do you upload to a specific subfolder in the container?

    • @shweta-lodha
      @shweta-lodha  2 года назад

      Check this video - How To Create A Subfolder Inside Azure Blob Container Using Python
      ruclips.net/video/Bnrargw-eM0/видео.html

    • @timsvab5350
      @timsvab5350 2 года назад

      @@shweta-lodha thank you. I finally got it done.

  • @Rajat_Singhal
    @Rajat_Singhal Год назад +1

    this is working. But how to upload multiple png or csv files

  • @kamyllalacerda8334
    @kamyllalacerda8334 Год назад

    OMG, fantastic tutorial!! Thanks :)!!

  • @jackma6083
    @jackma6083 Год назад +1

    What are storage_account_key and storage_account_name used for, I did't see anywhere to use it

  • @rajvernekar8605
    @rajvernekar8605 2 года назад +1

    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?

    • @shweta-lodha
      @shweta-lodha  2 года назад +1

      My most recent video explains this: ruclips.net/video/Bnrargw-eM0/видео.html

  • @badrbadr3793
    @badrbadr3793 2 года назад

    great explanation, thank you

  • @sahuanalogchannel
    @sahuanalogchannel Год назад

    I Want to load data from a csv file to pandas dataframe What should i do? do you have any vodeo?

    • @shweta-lodha
      @shweta-lodha  Год назад

      import pandas as pd
      df = pd.read_csv('my.csv')

  • @JeremyHolguinMori
    @JeremyHolguinMori Год назад

    Thanks! Greets from Perú

    • @shweta-lodha
      @shweta-lodha  Год назад

      Thanks for watching Jeremy. Nice to meet you!

  • @subhadipbera6621
    @subhadipbera6621 2 года назад

    If we want to get the all folder name present any one of the container then what should I do

    • @shweta-lodha
      @shweta-lodha  2 года назад

      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)

  • @marcelodeleon8703
    @marcelodeleon8703 Год назад

    Super useful!

  • @shakti3888
    @shakti3888 2 года назад

    thankyou that was very good

  • @deepak_9220
    @deepak_9220 2 года назад

    Awesome

  • @shakti3888
    @shakti3888 2 года назад

    thankyou

  • @ericxls93
    @ericxls93 Год назад +1

    …great explanation, but the upload speed 🤦‍♂️

    • @shweta-lodha
      @shweta-lodha  Год назад

      Will shortly make another video to explain how can you do this in chunks :)