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

Поделиться
HTML-код
  • Опубликовано: 9 авг 2022
  • 💻 Get my Source Codes and support the channel ❤️:
    www.buymeacoffee.com/fabiomus...
    ⬇️ LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW) 😉💪 ⬇️
    ☕ Buy me a coffee: www.buymeacoffee.com/fabiomus...
    😍 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)
    Learn how to use the JSON module to parse JSON in Python.
    If the video was helpful, let me know in the comments down below and also like the video so that other people can see it. Needles to say I really appreciate your support 💪❤️
    📨 SUBSCRIBE so that you don't miss any new video:
    ruclips.net/user/FabioMusann...
    🤗 BIO PAGE (contacts, etc): solo.to/fabiomusanni
    Create Your Bio Page (10% OFF Upgraded Plans 😉): solo.to/inv/NDE4NzE2
    🔗 RELATED CONTENT (videos, playlists, etc) 🔗
    Write and Read Text Files Video : • How to Read/Write to T...
    Python Playlist: • 🐍 Learn Python With Fa...
    🤩 AFFILIATE LINKS 🤩
    Create Your Bio Page (10% OFF Upgraded Plans): solo.to/inv/NDE4NzE2
    🧑🏻‍💻 ABOUT ME 🧑🏻‍💻
    I'm Fabio, I started programming with Python a lot of years ago and I fell in love with this world.
    I started this RUclips channel to help you during your own journey and I hope that my help can make you an amazing programmer who loves this world as I do.
    Welcome on board!! 🚀
    #pythonWithFabioMusanni #python #pythonforbeginners #pythontutorial #pythonprogramming #coding #programming
  • НаукаНаука

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

  • @FabioMusanni
    @FabioMusanni  Год назад +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 4 месяца назад +1

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

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

      Thank you so much for the comment! 😍😍

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

    It helped me out. Thanks

    • @FabioMusanni
      @FabioMusanni  4 месяца назад +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

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

    Sooo underrated

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

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

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

    Best One

  • @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. 😊