How to Save and Load Data in Python Using JSON Files | Python JSON Module

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

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

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

    ⬇️ *LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW)* 😉💪 ⬇️
    ☕ *Buy me a coffee:* www.buymeacoffee.com/fabiomusanni
    ❤️ *Support me monthly:* www.patreon.com/FabioMusanni
    😍 *One-off donation:* www.paypal.me/FabioMusanni/
    *SKILLSHARE*
    _(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)_
    🔗 skillshare.eqcm.net/5gxzD2 (Affiliate)
    *DATACAMP*
    _(Python, ChatGPT, SQL, Power BI, and a lot more)_
    🔗 datacamp.pxf.io/vN1bDj (Affiliate)
    *COURSERA PYTHON*
    _(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):_
    🔗 imp.i384100.net/k0Nk60 (Affiliate)
    *COURSERA WEB DEVELOPMENT*
    _(Full Stack, Front-End, Back-End, Web Design and a lot more):_
    🔗 imp.i384100.net/EKWxBW (Affiliate)
    Thank you for the support!❤
    🎥All my videos about Python: ruclips.net/p/PLs8qUrmRvaR0IT4IwJl-LSweAdACW-yLK

  • @VulpineFriend87XD
    @VulpineFriend87XD 9 месяцев назад +1

    this is the best python json tutorial that anyone's ever made. Thanks bro

    • @FabioMusanni
      @FabioMusanni  9 месяцев назад

      Thank you so much for the comment! 😍😍

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

    Sooo underrated

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

      If you mean the video, thank you very much!! 🤗😍

  • @gustavoc5592
    @gustavoc5592 9 месяцев назад

    It helped me out. Thanks

    • @FabioMusanni
      @FabioMusanni  9 месяцев назад +1

      Thank you Gustavo! Glad it was helpful! 😊💪
      Remember that you can support the channel or get the source code of some of my videos here: www.buymeacoffee.com/fabiomusanni

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

    how to add another person to file?
    how finding person in file with many persons?
    how edit, delete one person?

    • @FabioMusanni
      @FabioMusanni  Год назад +2

      You need to consider that you are dealing with a dictionary. In the example the dictionary contains the attributes of a person directly, but as I say towards the end of the video, the structure can be more complex, you can nest dictionaries inside other dictionaries for example.
      In you case, you could have one main dictionary and inside that dictionary you could have other dictionaries that represent the person objects, something like:
      {'person1': {'name':'John'}, 'person2': {'name': 'David'}}
      Then you can write this dictionary to the JSON file and read that back to modify its content, but you need to know dictionaries and how to use them to then be able to structure, delete, change things etc and that's not something that I show you in the video, it's something you need to learn first. 😊

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

    Best One