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

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 9. 08. 2017
  • đ™Žđ™©đ™–đ™ź 𝙞𝙣 đ™©đ™đ™š đ™Ąđ™€đ™€đ™„ 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: snu.socratica.com/python 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: / socratica
    To learn Python, start our Python Playlist HERE:
    bit.ly/PythonHelloWorld
    Subscribe to Socratica: bit.ly/1ixuu9W
    ♩♩♩♩♩♩♩♩♩♩
    We recommend:
    Python Cookbook, Third edition from O’Reilly
    amzn.to/2sCNYlZ
    The Mythical Man Month - Essays on Software Engineering & Project Management
    amzn.to/2tYdNeP
    Shop Amazon Used Textbooks - Save up to 90%
    amzn.to/2pllk4B
    ♩♩♩♩♩♩♩♩♩♩
    Ways to support our channel:
    â–ș Join our Patreon : / socratica
    â–ș Make a one-time PayPal donation: www.paypal.me/socratica
    â–ș We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9
    Thank you!
    ♩♩♩♩♩♩♩♩♩♩
    Connect with us!
    Facebook: / socraticastudios
    Instagram: / socraticastudios
    Twitter: / socratica
    ♩♩♩♩♩♩♩♩♩♩
    Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
    Written & Produced by Michael Harrison (@mlh496 on Twitter)
    ♩♩♩♩♩♩♩♩♩♩

Komentáƙe • 343

  • @Socratica
    @Socratica  Pƙed 2 lety +7

    Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica

  • @charleskenney3574
    @charleskenney3574 Pƙed 7 lety +521

    I hope you are paid well for all of this, you put an extraordinary amount of effort in these videos. Your work is appreciated!

    • @Socratica
      @Socratica  Pƙed 6 lety +189

      Honestly, CZcams doesn't pay a lot, but we do get additional support from our Patrons on Patreon!
      www.patreon.com/socratica
      It really is a labour of love. It's wonderful to hear from our viewers who say they are enjoying our work. Thanks for your kind message! :)

    • @vesperflight6116
      @vesperflight6116 Pƙed 2 lety +1

      Could not agree more !

  • @QuintusGaius
    @QuintusGaius Pƙed 4 lety +164

    How to learn python:
    1. Socratica for introduction
    2. Corey for a more in-depth explanation

  • @Socratica
    @Socratica  Pƙed 4 lety +84

    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!! 💜🩉

    • @JeffSmithInStJacobs
      @JeffSmithInStJacobs Pƙed 4 lety +4

      You deserve all the success you desire. Your videos are fantastic. Such a great presentation style!

    • @emilioroman4967
      @emilioroman4967 Pƙed 3 lety

      Your channel is the best, IÂŽm taking a python course and you help me a lot to get through. I hope you keep making new info. Also, I love the movies you choose for examples.

  • @____2080_____
    @____2080_____ Pƙed 6 lety +113

    Three videos in and already my favorite python channel. Bravo.

  • @noahnolte7288
    @noahnolte7288 Pƙed 4 lety +12

    This is the best python tutorial/video I have seen... BY A MILE! This channel is amazing! The level of time and effort you put into these is in unmatched in the programming world. And your voice is quite soothing. 10/10.

  • @satoriblue1349
    @satoriblue1349 Pƙed 2 lety

    I have been watching your vids since i started college, I've graduated and have a good job and still watch them to refresh myself. You helped me a ton throughout the years, thank you so much.

  • @itpugil
    @itpugil Pƙed 2 lety

    Definitely the best JSON-Python integration video to date. Straight to the point, easy to understand and downright hilarious, subbed!

  • @siddheshshanker4162
    @siddheshshanker4162 Pƙed 5 lety +1

    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.

  • @ASOT666
    @ASOT666 Pƙed rokem +1

    I love this channel so much.
    The script, voice acting, explanations, examples, jesus the production quality... are INSANE. If this is how college courses were taught we'd be living in an different era.

  • @any2xml
    @any2xml Pƙed 4 lety

    I am in love with this Python series. You have set an example for presenters. Technical subject does not need to have a boring presenter. The intonation, facial expressions, humor - dramatic.
    I also see this well-scripted.
    Can we see the credits?
    I learnt a lot of Python quickly. There is no fat, no fluff!
    Bravo!

  • @dumbledore192
    @dumbledore192 Pƙed 4 lety

    One of the most underrated ,beautifully crafted videos. Hats off to the creator for his creativity. I get chuckle every time I watch any of the Socratica videos and the contents are really top notch and the best on youtube

  • @masoudmasoumimoghaddam3832
    @masoudmasoumimoghaddam3832 Pƙed 5 lety +4

    Huge effort!
    Simple and fast.
    By watching your channel videos I can see a lot of passion to your job.
    Thank you

  • @DUANEYAISER
    @DUANEYAISER Pƙed 7 lety +10

    Now my favorite CZcams Python channel. Thank you!

  • @nekoill
    @nekoill Pƙed rokem +1

    Gotta be the best AND most concise video on working with JSON in Python, couldn't help but subscribe

  • @kemekenneth
    @kemekenneth Pƙed 5 lety +21

    "Since rhythming sentences are twice as likely to be true" indeed your videos are as good as gold 👌

  • @TragoudistrosMPH
    @TragoudistrosMPH Pƙed 2 lety +2

    Wow, I learned so much more than just the steps since explanations for 'why' were concisely given along with steps. Major thanks!!!!!

  • @youllnevergetmynumbr
    @youllnevergetmynumbr Pƙed 7 lety +16

    gimmick aside, some of the best quick python tuts out there

  • @vero0992
    @vero0992 Pƙed 5 lety +1

    Subscribed! As a new-ish security professional I have some catching up to do in this sector. Excellent work, truly. Thank you!

  • @unitech23
    @unitech23 Pƙed 2 lety

    Your layout and flow of speech were amazingly on point.

  • @alexcondor2157
    @alexcondor2157 Pƙed rokem +1

    Just found your channel and I know we are gonna have so much fun.

  • @laszlovona
    @laszlovona Pƙed 6 lety

    so fkn cool/useful! All tutorial in the world should be created in this style: The pace, the content, the length, the structure, everything is perfect!

  • @Socratica
    @Socratica  Pƙed 4 lety +19

    Welcome to Socratica! You can see our entire Python Playlist here: bit.ly/PythonSocratica
    Subscribe to see all our new videos! bit.ly/SocraticaSubscribe

  • @lllbutcher
    @lllbutcher Pƙed 7 lety +15

    YOUCH. A 9+ robotic babe teaching python.
    Soon we will be overrun with motivated python programmers.
    More people may have been involved in the production of this series than are listed.
    I want to complement you all.
    The writing is good. The subject material is good.
    The presentation is good. The tempo, diction, and accents relating to content are good.
    The sound recording and graphics are good.
    The story line and character developed at the beginning and end are good, and contribute to the interest of the piece.
    This is solid, and will be effective teaching material. I love it.
    Thanks to you all.
    I have subscribed, and will binge-watch as many of your videos as time permits.
    I already know python. I am struggling to forget, so I have an excuse to watch these vids.
    Please consider doing videos on:
    pprint
    try, exceptions, traceback
    module development, packaging and distribution
    pydoc
    unit-level test as part of module design philosophy
    ordereddict, named tuples, and/or ctypes Structures
    The odd way needed to send and receive ascii to/from a serial line when the language internally uses unicode as default.
    Thanks for your work.

  • @Akashascosset
    @Akashascosset Pƙed 5 lety

    Each time I watch videos from this series I find new reasons why I love it!

  •  Pƙed 7 lety +52

    Absolutely brilliant this choice of character and the actor.

  • @MrEstebanEscudero
    @MrEstebanEscudero Pƙed 5 lety +3

    Clear as water. Excellent video. Thanks!

  • @adamathypernerd7728
    @adamathypernerd7728 Pƙed 7 lety +10

    I love this series! Thanks for the great work.

  • @physicsguybrian
    @physicsguybrian Pƙed 4 lety

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

  • @bballfanmobile2544
    @bballfanmobile2544 Pƙed 6 lety

    "This JSON says Patreon helps Python to carry on." That rhyme and it's delivery alone are worth a few bucks! Just subd. Now I'm going back into Patreon to "make it rain" on you!

  • @waqasqammar4231
    @waqasqammar4231 Pƙed 6 lety

    I find your channel tomorroe and really impressed by your teaching method.you have clear some of my ideas in which I was confused or not know how they work behind the scene.thank you and keep it up

  • @Socratica
    @Socratica  Pƙed 4 lety +1

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

  • @kuzco7061
    @kuzco7061 Pƙed 3 lety

    This video explained it better and faster than any other Python Json 20Min + tutorial

  • @a320homecockpit
    @a320homecockpit Pƙed 4 lety

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

  • @mikec64
    @mikec64 Pƙed 3 lety

    I didn't expect to learn anything on this one, as laugh as much as I did. WELL DONE again! I learned, I laughed, I rhymed, I'm a raft.

  • @DutchmanDavid
    @DutchmanDavid Pƙed 7 lety +6

    Can confirm, Minority Report is a must watch!

  • @Socratica
    @Socratica  Pƙed 4 lety +2

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

  • @frikkievandermerwe
    @frikkievandermerwe Pƙed 4 lety

    Awesome! This video got you another subscriber... Well done!

  • @alperenelbasan2597
    @alperenelbasan2597 Pƙed 7 lety

    I just show your channel and loved it, keep doing it.

  • @marcossantos-yr3ee
    @marcossantos-yr3ee Pƙed 5 lety

    I really appreciate your videos, short and with a huge content, congratulations and thank you!

  • @devn0n
    @devn0n Pƙed rokem +1

    I absolutely am grateful for these videos

  • @tonedh2auto
    @tonedh2auto Pƙed 5 lety

    This is a great tutorial. Absolutely clear and brief.

  • @PARSEQUIS
    @PARSEQUIS Pƙed 4 lety

    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 CZcams that are as great and as informative as your python videos?

  • @pl9742
    @pl9742 Pƙed 4 lety

    This sci-fi environment created through music and the way of speaking makes the learning feels like watching an exciting movie and helps envision the cool future after learning all these things.

  • @PunmasterSTP
    @PunmasterSTP Pƙed 3 lety

    Another phenomenal Socratica Python video! Also, when the acronym JSON is used, anyone else think of "JSON Derulo"? It's probably just me...

  • @SHONNER
    @SHONNER Pƙed 7 lety

    I understand what JSON can be used for with Python, thanks to this quick vid. Very cool! Found a version that works with Python 2.5, called simplejson.

  • @zeeshancs1646
    @zeeshancs1646 Pƙed 5 lety +1

    i love this youtube channel and also the way of teaching!!

  • @joshuaola-oluwa7777
    @joshuaola-oluwa7777 Pƙed 4 lety +2

    I like her style of teaching 😀👏👏👏👍

  • @benfinch4969
    @benfinch4969 Pƙed 2 lety

    You saved my coursework, thank you so much!

  • @philipmumford7871
    @philipmumford7871 Pƙed 4 lety

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

  • @SalocinDotTEN
    @SalocinDotTEN Pƙed 5 lety

    Learning python programming as an Ingress tactical briefing. Awesome!

  • @anilsana105
    @anilsana105 Pƙed rokem

    hi this Anil from India , first time i am here instantly connected to the video amazing..

    • @Socratica
      @Socratica  Pƙed rokem

      Hello Anil and all our friends in India!! 💜🩉

  • @johanphilip5975
    @johanphilip5975 Pƙed 5 lety

    Thank you i have watched 3 videos before and none could helped me but this did ty :)

  • @philipukanwoke8926
    @philipukanwoke8926 Pƙed rokem

    I love this video, explains JSON very well

  • @ritheshjarvis4177
    @ritheshjarvis4177 Pƙed 6 lety

    Super. Nice tutorial.. Also helped to understand the JSON in general.

  • @ThePieas
    @ThePieas Pƙed 7 lety

    I can tell one thing only .. This is the best channel ..

  • @allankamoga5477
    @allankamoga5477 Pƙed 6 lety

    I love the fact that the videos are quite shorter, so great

  • @akshayjain460
    @akshayjain460 Pƙed 2 lety

    Thank you, really great tutorial on JSON

  • @TheWyrdSmythe
    @TheWyrdSmythe Pƙed 2 lety

    That JSON module has been very helpful. I keep running into web services that use it because JavaScript.

  • @samshanmukh
    @samshanmukh Pƙed 5 lety

    Your style is very unique and I love it.

  • @OlaDuda
    @OlaDuda Pƙed 3 lety

    DĆŒanusz KamiƄski

  • @afmirmohammed7676
    @afmirmohammed7676 Pƙed 5 lety

    these videos are out of the box, thank you

  • @BlenderDumbass
    @BlenderDumbass Pƙed 7 lety +3

    That was amazing... LOVE MINORITY REPORT OMG

  • @themarksmith
    @themarksmith Pƙed 7 lety +9

    Love this series on Python - please make more!!!!!

  • @colmduffy2272
    @colmduffy2272 Pƙed 4 lety

    These lightweight and informative. ..... Not to mention, pretty fun too.

  • @slonbeskonechen8310
    @slonbeskonechen8310 Pƙed 3 lety

    Great explanation!!! Thank you!!

  • @velazungu
    @velazungu Pƙed 7 lety +3

    This is amazing...Thank you again

  • @pablodiaz1811
    @pablodiaz1811 Pƙed 7 lety +2

    Beautiful video, thanks for make this kind of videos.

  • @renatobraga999
    @renatobraga999 Pƙed 5 lety

    Thank you for sharing your knowledge, your Channel is amazing !!!!!!

  • @hasanaljamea2569
    @hasanaljamea2569 Pƙed 6 lety

    love your videos cant wait for XML parsing

  • @ultralooter
    @ultralooter Pƙed 5 lety +9

    Great tutorial, but there are a couple of things missing:
    -With open as..
    -Json arrays
    -Nested structures

  • @xjonyxsimix2
    @xjonyxsimix2 Pƙed 5 lety +17

    Makes me feel like GLaDOS is teaching me python, and it's awesome.

  • @MoysĂ©sGurgel
    @MoysĂ©sGurgel Pƙed 7 lety +2

    I knew that one day Socratica would mention the great Tron: Legacy. :-)

  • @jeekakrishna
    @jeekakrishna Pƙed 4 lety

    Probably the best channel on python.

  • @husseinalahmad429
    @husseinalahmad429 Pƙed 7 lety +2

    awesome!
    thank you for your great work .

  • @ashleysommers1528
    @ashleysommers1528 Pƙed 5 lety +7

    I did not see the ray guns coming, totally laughing hard with that.

  • @marco.nascimento
    @marco.nascimento Pƙed 5 lety

    Direct and well explained info, really nice

  • @alurma
    @alurma Pƙed 6 lety

    Thank you so much! This was very helpful :)

  • @evanwang5553
    @evanwang5553 Pƙed 5 lety

    This is so much fun watching those video.

  • @TheXxdiegox
    @TheXxdiegox Pƙed 7 lety +1

    Thanks for making these videos, they are really helpfull.

  • @yapandasoftware
    @yapandasoftware Pƙed 5 lety

    How would you concatenate your strings using this same method? Would you output the strings individually and use a separate function to add your outputs together?

  • @joshuaola-oluwa7777
    @joshuaola-oluwa7777 Pƙed rokem +1

    "This JSON says Patreon will help Python to carry on"đŸ˜‚đŸ˜‚đŸ˜‚â€â€đŸ”„. I just found a new rhyme â€â€đŸ”„đŸ˜‚đŸ˜‚đŸ˜‚

  • @Danielagostinho21
    @Danielagostinho21 Pƙed 5 lety

    How can i ask it to do all the "identation" stuff while writing a Json file?

  • @Ramesh_krishnan
    @Ramesh_krishnan Pƙed 4 lety

    haaa sama super editing i realy like this video and it so cool...man ......

  • @MultiKB13
    @MultiKB13 Pƙed 7 lety +14

    Hey Scoratica! I love this video series on python, you cover a lot of interesting content and really demonstrate all the different cases. Can you do videos on Iterators and Generators (Iterables) as I think they are very interesting topics to discuss.

    • @Socratica
      @Socratica  Pƙed 7 lety +5

      This is definitely on our list! We touch upon them in an upcoming video, but will definitely make a standalone lesson on iterables, iterators, etc.

  • @mikechaves2868
    @mikechaves2868 Pƙed 7 lety

    Cool high tech intro, thanks for the info, yo

  • @the_feature_selector859
    @the_feature_selector859 Pƙed 7 lety +1

    Great stuff! Yall plan on doing anything with dataframe manipulation and machine learning?

  • @rrahll
    @rrahll Pƙed 5 lety +1

    Gattaca! One of the best ;)

  • @BobP-ks1mu
    @BobP-ks1mu Pƙed rokem +1

    Thanks, Very helpful.

  • @markthomas9641
    @markthomas9641 Pƙed 2 lety

    Great explanation, thank you. If you are a developer working with JSON then DeltaJSON is really useful, it has an API for compare, merge and graft.

  • @lovelypolishperson5566
    @lovelypolishperson5566 Pƙed 5 lety +3

    short and to the point, i love it

  • @neofit3157
    @neofit3157 Pƙed 7 lety +1

    I love your lessons! ))

  • @omerresnikoff3565
    @omerresnikoff3565 Pƙed 4 lety

    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...

  • @zunelmhrz3040
    @zunelmhrz3040 Pƙed 5 lety

    still can't believe that you can find such an entertaining learning video about programming too in web #great_work peewu peewu

  • @nackyding
    @nackyding Pƙed 5 lety

    Where is the opening tag in the XML example at 1:19?

  • @fifthelement6036
    @fifthelement6036 Pƙed 5 lety

    Outstanding !

  • @niteshrawat576
    @niteshrawat576 Pƙed 6 lety

    Hi All,
    when i write any lambda exp/anonymous func into some editor like sublime/atom , it automatically changes it into a normal function just before executing. Why it happening ? Please help if some one know the solution. Thanks in advance! :D

  • @-dash
    @-dash Pƙed 4 lety

    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

  • @TdukeTduke
    @TdukeTduke Pƙed 8 měsĂ­ci

    Excellent Video

  • @sreanponleu7064
    @sreanponleu7064 Pƙed 5 lety

    greate one, I love this style