JSON in Python || Python Tutorial || Learn Python Programming

///JSON in Python || Python Tutorial || Learn Python Programming

JSON in Python || Python Tutorial || Learn Python Programming

FavoriteLoadingAdd to favorites

JSON is a lightweight data format that uses JavaScript notation. JSON data packets are small and quickly parsed by browsers. Today we explore how to read and write JSON data in Python.

This Python tutorial was made possible in part by the generous donations of our Patrons on Patreon! We dedicate this video to Austin Anderson, Carlos Araujo, and Vishal Shah. We are so thankful for your support! It’s making a huge difference in our ability to make these videos for everyone who wants to learn.
You can join the Socratica Team here:

➢➢➢➢➢➢➢➢➢➢
To learn Python, you can watch our playlist from the beginning:

➢➢➢➢➢➢➢➢➢➢
If you’d like a reference book, we recommend “Python Cookbook, 3rd Edition” from O’Reilly:

The Mythical Man Month – Essays on Software Engineering & Project Management

➢➢➢➢➢➢➢➢➢➢
To​ ​help​ ​us​ ​make​ ​videos more quickly,​ ​you​ ​can​ ​support​ Socratica at:

​Patreon​:

Socratica Paypal:

We also accept Bitcoin! 🙂
Our​ ​address​ ​is: 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9

Thank​ ​you!!

➢➢➢➢➢➢➢➢➢➢
You​ ​can​ ​also​ ​follow​ ​Socratica​ ​on:
-​ ​Twitter:​ ​@socratica
-​ ​Instagram:​ ​@SocraticaStudios
-​ ​Facebook:​ ​@SocraticaStudios

➢➢➢➢➢➢➢➢➢➢
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)

source

By |2020-02-19T01:52:56+00:00February 19th, 2020|Python Video Tutorials|41 Comments

41 Comments

  1. Socratica February 19, 2020 at 1:53 am - Reply

    Welcome to Socratica! You can see our entire Python Playlist here: http://bit.ly/PythonSocratica

    Subscribe to see all our new videos! http://bit.ly/SocraticaSubscribe

  2. Ricci Ramirez February 19, 2020 at 1:53 am - Reply

    These python videos are profoundly clean. No wasted time with dumb smalltalk or ads. I wish to learn c c++ c# java perl and python. Socratica, can you recommend any large comprehensive video sets on object orientated software engineering level programming on YouTube that are as great and as informative as your python videos?

  3. 444haluk February 19, 2020 at 1:53 am - Reply

    Jesus, those are some great movie recommendations!

  4. Niel Fourie February 19, 2020 at 1:53 am - Reply

    Two things: For 3.8 use 2 forward slashes ("D:\Note++\01\movie_1.txt", "r", encoding="utf-8") and my code works in python but not in PyCharm.

  5. DEVANSH SHARMA February 19, 2020 at 1:53 am - Reply

    Learn Python in the Scary Mode

  6. Hüseyin Fahri Uzun February 19, 2020 at 1:53 am - Reply

    I never understand why on earth no one uses utf-8 or global date format. Working with dates, time zones and different encodings are a nightmare

  7. James Grime February 19, 2020 at 1:53 am - Reply

    Typed the json up.
    {
    "title" : "Gattica",
    "release_year" : 1997,
    "is_awesome" : true,
    "won_oscar" : false,
    "actor" : ["Ethan Hawke", "Uma Thurman", "Alan Arkin", "Loren Dean"],
    "budget" : null,
    "credits" : {
    "director" : "Andrew Niccol",
    "writer" : "Andrew Niccol",
    "composer" : "Michael Nyman",
    "cinematographer" : "Sławomir Idziak"
    }
    }

  8. Thobishi Moreko February 19, 2020 at 1:53 am - Reply

    This Channel Is The Best…

  9. Dummy Dumb February 19, 2020 at 1:53 am - Reply

    Can't believe that lower case L had a stroke.

  10. Knivens Beast February 19, 2020 at 1:53 am - Reply

    Btw 5:00 ń this is not 'n' with an accent, but another letter from polish alphabet, read basically in the same way as spanish 'ñ'. Accents are not graphically marked in this language as there is one simple streesing rule.

  11. BrianRDub February 19, 2020 at 1:53 am - Reply

    This woman is incredible!!!! Love the delivery and the content!

  12. Philip Mumford February 19, 2020 at 1:53 am - Reply

    I knew most of this but watched it anyway because I just love the way she presents 😆

  13. a320homecockpit February 19, 2020 at 1:53 am - Reply

    a realy different format to making python videos… it sure is a great pleasure to see these videos

  14. Ali Tarbhai February 19, 2020 at 1:53 am - Reply

    pew pew haha! amazing!

  15. shrey shah February 19, 2020 at 1:53 am - Reply

    JSONDecodeError: Extra data: line 2 column 1 (char 340)

    Giving me this error. Can someone please help

  16. orcodrilo February 19, 2020 at 1:53 am - Reply

    I will watch mynority report to have my python checklist done

  17. Jeeka Krishna February 19, 2020 at 1:53 am - Reply

    Probably the best channel on python.

  18. Diego Gomes February 19, 2020 at 1:53 am - Reply

    You're great

  19. ̊ February 19, 2020 at 1:53 am - Reply

    soo what are the pros of xml? i'd imagine its more expensive to parse, which would make it seem like it doesn't scale very well

  20. José Ignacio Cuevas Barrientos February 19, 2020 at 1:53 am - Reply

    Question: doesn't Python 3.x use utf-8 encoding by default? I'm latin american and I don't have input encoding problems with acute letters nor "ñ" for instance…

  21. Huan Phan February 19, 2020 at 1:53 am - Reply

    It likes the video is come from some orgs as CIA, FBI 🙂

  22. Socratica February 19, 2020 at 1:53 am - Reply

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

  23. Cossette Alexis Gabuya February 19, 2020 at 1:53 am - Reply

    I'm getting a key error

  24. Socratica February 19, 2020 at 1:53 am - Reply

    We're halfway there. We still need your help! Support Socratica Python Kickstarter: http://bit.ly/PythonKickstarter

  25. Socratica February 19, 2020 at 1:53 am - Reply

    Support what you love! Socratica has a Kickstarter to make more Python: http://bit.ly/PythonKickstarter

  26. mobin alhassan February 19, 2020 at 1:53 am - Reply

    how we can creat .json file using python and in this video you add 1 dicr and if i want to add dicr after dicr so how i can do..

  27. Uktam .Jumaev February 19, 2020 at 1:53 am - Reply

    is she AI or human being?))

  28. Thiago Perez sanabria February 19, 2020 at 1:53 am - Reply
  29. Mert Ertuğrul February 19, 2020 at 1:53 am - Reply

    She is great.

  30. Paul Burns February 19, 2020 at 1:53 am - Reply

    Below is the code I used to in my py file:

    import json

    with open("gattaca.json","r", encoding="utf-8") as f:

    movie1 = json.load(f)

    print(movie1)

  31. Stefano R.G February 19, 2020 at 1:53 am - Reply

    Gracias! Buen aporte

  32. Alejandro Bermúdez February 19, 2020 at 1:53 am - Reply

    Excelent videos

  33. Rahul Kambadur February 19, 2020 at 1:53 am - Reply

    can you please help?

  34. Rahul Kambadur February 19, 2020 at 1:53 am - Reply

    JSONDecodeError Traceback (most recent call last)
    <ipython-input-18-f9adad0adeb1>

  35. Muhammad Latif February 19, 2020 at 1:53 am - Reply

    is she a robot

  36. GodTheChaoticEvil Narcissist February 19, 2020 at 1:53 am - Reply

    these videos are creeping me out but they are also really cool.

  37. Polykarpos Polykarpidis February 19, 2020 at 1:53 am - Reply

    You are amazing!

  38. Talha Vlogs February 19, 2020 at 1:53 am - Reply

    This channel needs more Subcribers and views!!

  39. thegamecracks February 19, 2020 at 1:53 am - Reply

    "Jay-son" is a name. "Jay-sOn" is a file type. Raymond Hettinger said that, so that must be the correct way to pronounce JSON.

  40. Siddhesh Shanker February 19, 2020 at 1:53 am - Reply

    Never seen a video with such clear explanation. I highly recommend everyone who want to learn python to follow this page.
    Good job. Thanks for making such wonderful videos and providing such clear and precise explanation.

  41. John Phillips February 19, 2020 at 1:53 am - Reply

    Who's Jason?

Leave A Comment

*