Special Methods || Python Tutorial || Learn Python Programming

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 27. 07. 2021
  • đ™Žđ™©đ™–đ™ź 𝙞𝙣 đ™©đ™đ™š đ™Ąđ™€đ™€đ™„ 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: snu.socratica.com/python Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: snu.socratica.com/python
    In Python, special methods are those "odd looking" methods that start and end with underscores. They let you override operators, intercept the setting and getting of attributes, customize object serialization, and much more. In this lesson we talk about the idea behind special methods and attributes, how to implement them, and give many examples along the way!
    Some of the special methods & attributes we will cover include:
    _init_
    _doc_
    _setattr_
    _str_
    _getattr_
    _getattribute_
    We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
    ⧓⧓⧓⧓⧓
    Subscribe to Socratica + bell for notifications:
    bit.ly/SocraticaSubscribe
    Find our programming playlists here:
    Python programming: bit.ly/PythonSocratica
    SQL programming: bit.ly/SQL_Socratica
    ⧓⧓⧓⧓⧓
    We recommend:
    How to Be a Great Student
    ebook: amzn.to/2Lh3XSP
    Paperback: amzn.to/3t5jeH3
    Kindle Unlimited (read free): amzn.to/3atr8TJ
    Python Cookbook, 3rd edition
    amzn.to/3goRmbG
    The Mythical Man Month - Essays on Software Engineering & Project Management
    amzn.to/2tYdNeP
    Shop Amazon Used Textbooks - Save up to 90%
    amzn.to/2pllk4B
    ⧓⧓⧓⧓⧓
    Join this channel to get access to perks:
    / @socratica
    Support Socratica on Patreon:
    / socratica
    ⧓⧓⧓⧓⧓
    Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
    Written & Produced by Michael Harrison (@mlh496 on Twitter)
    #Python #SpecialMethods #Coding

Komentáƙe • 201

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

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

  • @futureprogrammer7084
    @futureprogrammer7084 Pƙed 3 lety +154

    Now that Ulka is back, my passion for Python and Programming is back.

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

      Indeed

    • @LarryRiedel
      @LarryRiedel Pƙed 3 lety +9

      I already know the material, but it's worth watching for the cybernetic presentation.

  • @shreehari2589
    @shreehari2589 Pƙed 3 lety +170

    Please don't stop python series, it's really awesome, ulka is an awesome instructor

  • @elmo2you
    @elmo2you Pƙed 3 lety +50

    The level of subtle (and not so subtle) sarcasm in just the first minute made me almost roll off my chair. These videos have nothing new to learn for me, but they are so much worth watching nonetheless. Priceless.

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

      Thanks Elmo. Just make sure to assert this statement on your next resume as an achievement / reference.

  • @miladiouss
    @miladiouss Pƙed 3 lety +59

    I've been a Python developer for 6 years but I still enjoy watching these because she makes things more clear.

  • @7deepakpandit
    @7deepakpandit Pƙed 3 lety +22

    Now please dont stop this series. I am so much in love with python again

  • @absmustang
    @absmustang Pƙed 3 lety +21

    I used to think I was a visual learner.
    Now i know I'm a Socratica learner.
    Thank you for these videos.

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

      AAAAHHHH this is the most beautiful comment. 💜🩉

  • @aldock5906
    @aldock5906 Pƙed 3 lety +29

    Well, your “Methods” for teaching python is really “Special”.

  • @yanoku6290
    @yanoku6290 Pƙed 2 lety +8

    Brilliant!
    Your sense of humor, voice, coding environment and the way you are introducing this content is pretty impressive!
    Hope to see new Python videos soon.

  • @aryannsarkari1068
    @aryannsarkari1068 Pƙed 3 lety +4

    So glad this series started again and so happy to see that your channel is regular now. Thank you!

  • @Socratica
    @Socratica  Pƙed 3 lety +36

    Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: bit.ly/PythonGroup

    • @guilhermehx7159
      @guilhermehx7159 Pƙed 3 lety +2

      I am a supporter 🙂

    • @thineshgen
      @thineshgen Pƙed 3 lety

      Signed...plz Give us latest python ML Work with your magic..

  • @artemiasalina1860
    @artemiasalina1860 Pƙed 4 měsĂ­ci

    I enjoy the humor as well as the information in these videos. Very well done.

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

    they summarized my coding basics class of 1 yr into a 12 min video

  • @cigdemylmaz1532
    @cigdemylmaz1532 Pƙed 22 dny

    This makes things much clearer for me. Ulka is a great instructor

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

    This series is excellent: funny, entertaining and pedagogically brilliant. You're doing an amazing job in this series (and others I imagine), thank you : ) !!!

  • @Maric18
    @Maric18 Pƙed 3 lety +2

    i love these. gives me the same tingly feeling as strategy game tutorials from wayyy back

  • @PyTransformer
    @PyTransformer Pƙed 2 lety

    Gotta love how concise yet comprehensive these tutorials are

  • @marcelolimasouza
    @marcelolimasouza Pƙed 3 lety +3

    As always, the best examples and the best clear explanation of such an amazing feature. Thanks Ulka and thanks Socratica.

  • @oudekraal7460
    @oudekraal7460 Pƙed 3 lety +17

    yay, the python fairy is back, welcome, welcome

  • @GoodwillBBQ
    @GoodwillBBQ Pƙed 3 lety +1

    As someone who is teaching python to themselves, this was really useful to finally understand what is going on with the dunderscore. Most of my objects just store attributes, so this video helps me realize how I can use my custom objects more wisely. Thank you!

  • @stefanobailey740
    @stefanobailey740 Pƙed 3 lety +1

    Oh my God. I did not realise these tutorials were back. So happy about this. I am a lot more experienced than I used to be, and am writing code for my job everyday. But I find these so entertaining

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

    Ulka is the main reason I followed Socratica! Please don't stop Python series!!

  • @sirafazali9187
    @sirafazali9187 Pƙed 2 lety

    Im sooo glad you are back. Thank you!

  • @kltr007
    @kltr007 Pƙed 3 lety +2

    Well done, Thank You.
    There is something special about your videos.

  • @spinj3307
    @spinj3307 Pƙed 4 měsĂ­ci +1

    You are an absolutely amazing teacher, thank you

  • @programaticamentefalando2918

    I've been teaching for quite some time now, but I am yet to see any surpass this straight to the point and effective way of teaching.

  • @justarandomcommenter8083
    @justarandomcommenter8083 Pƙed 3 lety +19

    This indeed is, a special video 😜

  • @vikaspoddar001
    @vikaspoddar001 Pƙed 3 lety +3

    she is back 🎉🎉🎉

  • @mzamomahaeng268
    @mzamomahaeng268 Pƙed 6 měsĂ­ci

    she is just amazing in how she simplified the content, thank you for the lessons 😊

  • @pile333
    @pile333 Pƙed 3 lety +4

    Python evolves so quickly.
    Thanks for the usual amazing explanation.

    • @user-kk5qe9fj2l
      @user-kk5qe9fj2l Pƙed 3 lety

      This isn't new. I'm not sure but unless they dramatically changed how their language works, this should be about as old as python classes are.
      Not sure if this what you meant with python evolves so quickly.

  • @da.de.7915
    @da.de.7915 Pƙed 2 lety

    Very on point no bs, not wasting time, very good!

  • @AGregPalmer
    @AGregPalmer Pƙed 2 lety

    Loved it. Really helped understand how it all works. Love the humour.

  • @Aviel777Gergel
    @Aviel777Gergel Pƙed 2 lety

    We dont need any special "compare" methods, because we know for sure, that "Socraticas" videos are simply the best!!! Thank u for making things clear & interesting

  • @pratyushkumarbiswal736
    @pratyushkumarbiswal736 Pƙed 3 lety +4

    I have a huge respect for you mam....
    I have learnt python from you.... 🙏🙏🙏

  • @kenw8875
    @kenw8875 Pƙed 3 lety

    Ulka taught me Python in 2020. Welcome back!!! 😊 đŸ™đŸ»

  • @vijaybabaria3253
    @vijaybabaria3253 Pƙed 2 lety +3

    we really hope you get time to make more of these awesome python videos, can't get enough of your content. thanks

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

      Oh, there will be Python... Much more Python.

  • @BrianStDenis-pj1tq
    @BrianStDenis-pj1tq Pƙed 2 lety

    Socratica is special to me. Thanks.

  • @phpdeveloper5841
    @phpdeveloper5841 Pƙed rokem

    This is SO Powerful!, Well Explained!! awesome LESSONS

  • @mahmudamoon7191
    @mahmudamoon7191 Pƙed 3 lety +1

    please make more videos on Python..just love your videos,, so informative and interesting ..I fell in love with Python from watching your videos.... great inspiration

  • @rrahll
    @rrahll Pƙed 3 lety +3

    As usual - really cool content!!!! thank you))

  • @Pedritox0953
    @Pedritox0953 Pƙed 2 lety

    Best video on this topic !

  • @mrmuranga
    @mrmuranga Pƙed 2 lety

    1.24 .."Because nobody got time for that" , always a pleasure listening and learning through this channel

  • @scign
    @scign Pƙed 2 lety

    Thank you @Socratica for bringing Ulka back for more python programming tips!

  • @rithyphannareach9189
    @rithyphannareach9189 Pƙed 2 lety

    Love it, Thanks!

  • @another_hindu
    @another_hindu Pƙed 3 lety +1

    Missed this channel man !

  • @neerajsingh-xf3rp
    @neerajsingh-xf3rp Pƙed 3 lety +1

    Glad to see u after a long time

  • @zeronotjelo
    @zeronotjelo Pƙed 3 lety

    I love this channel so much

  • @carlosamoreno9013
    @carlosamoreno9013 Pƙed 3 lety

    As always, great content!

  • @natehancock6378
    @natehancock6378 Pƙed 2 lety

    Yayyyy! Its back!

  • @tusharshukla9361
    @tusharshukla9361 Pƙed 3 lety +1

    Good to see you again!!!!!

  • @youssefelamrani7905
    @youssefelamrani7905 Pƙed 3 lety

    this serie never gets old nor boring for me

  • @cristioancea3708
    @cristioancea3708 Pƙed 3 lety +1

    I never write comments on CZcams but for you I will make an exception. Very happy you are back, this is, by far the best tutorial series on python that I have ever seen.

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

      You are so kind, thank you!! We really love making these videos. 💜🩉

  • @AWhite_
    @AWhite_ Pƙed 2 lety

    Well done, thank for the great effort at every video

  • @juanolckers4719
    @juanolckers4719 Pƙed rokem

    Awesome Channel 😀 thank you !!

  • @Gglsucksbigballz
    @Gglsucksbigballz Pƙed 2 lety

    So glad your back with Video! A Class of their own! #Best

  • @jasneetsingh5860
    @jasneetsingh5860 Pƙed 3 lety +1

    Thank you for the great video

  • @nbsp8902
    @nbsp8902 Pƙed 3 lety +2

    I watched her video something 2 yrs back..
    And she is still same wow

  • @ShenGe
    @ShenGe Pƙed rokem

    Excellent work as always!

  • @omarcruz6326
    @omarcruz6326 Pƙed 3 lety +2

    Wait a second... Are these great Python videos back ??? Yeah !!! 👌

  • @splendorman7922
    @splendorman7922 Pƙed 3 lety +1

    best tutorial videos about python. no bullshit whatsoever

  • @GuillermoAlfonsoMorales
    @GuillermoAlfonsoMorales Pƙed 3 lety +2

    I love these videos with teacher Ulka. 😍

  • @thebuggser2752
    @thebuggser2752 Pƙed 2 lety

    Very nice. Really shows some OOP concepts in Python.

  • @benm3819
    @benm3819 Pƙed 3 lety +2

    God damn, I am quite new to programming and what is being said makes sense. But deploying these methods as quickly as the video, that's a while away for me. Nice channel anyway.

  • @terabhai379
    @terabhai379 Pƙed 3 lety +2

    Thanks for making video 💗💗💗💗

  • @kabandajamir9844
    @kabandajamir9844 Pƙed 2 lety

    World's best presentation

  • @ismet55555
    @ismet55555 Pƙed 3 lety +1

    These videos are pretty great

  • @axis0401
    @axis0401 Pƙed 3 lety

    So glad she is back

  • @PremanshuMitra
    @PremanshuMitra Pƙed 3 lety

    OMG... I got what I was looking for ❀❀

  • @terabhai379
    @terabhai379 Pƙed 3 lety +3

    Best đŸ‘đŸ» video 💗💗 thanks for making video on python

  • @azizaganieva6849
    @azizaganieva6849 Pƙed 2 lety

    Soooo happy to see Ulka again đŸ„łđŸ€©

  • @tigere01
    @tigere01 Pƙed 3 lety

    Welcome back!

  • @DaniLong
    @DaniLong Pƙed 2 lety

    Wish I could give more than one thumbs-up.
    I share your videos a lot, though, so maybe I do vicariously.
    Keep up the good work! Will join soon!

  • @stultuses
    @stultuses Pƙed 3 lety +1

    These videos are great
    There are two people who taught me the fun aspects of Python, Socratica and Bucky Roberts (The New Boston).
    Bucky stopped doing his videos suddenly so that leaves Socratica
    Edit
    Bucky Roberts is back!!
    Now we have two awesome fun places to watch Python videos on!

  • @afr0z
    @afr0z Pƙed 3 lety

    Welcome back 💐 Ulka

  • @onlineogochukwu7790
    @onlineogochukwu7790 Pƙed 10 měsĂ­ci

    I don't know why, but anytime I watch your video, I understand faster then my university lecturer

  • @quintencabo
    @quintencabo Pƙed 3 lety

    Your back!!!

  • @MOTAMINE.
    @MOTAMINE. Pƙed 3 lety +1

    Thnx a lot 😍 ...have been waiting for a long long time. Please keep continue.... We appreciate min 1 Python video/month. Givin u stenngth through comment đŸ„°đŸ„°

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

      Stay strong, kind Socratica Friend! More on the way! 💜🩉

  • @BehruzbekOtayev
    @BehruzbekOtayev Pƙed 3 lety

    I'm lovin it

  • @Delpatrela
    @Delpatrela Pƙed 2 lety

    a masterpiece

  • @Yasharvl
    @Yasharvl Pƙed 3 lety +2

    I just came here to leave a 'like'! Thank you for these series of videos! Last year, they were a huge help to me to learn Python.

  • @toshyamg
    @toshyamg Pƙed 2 lety

    Great.... one

  • @Troglodyte2021
    @Troglodyte2021 Pƙed 3 lety

    glad to see you back hahaha

  • @VinodMoorkoth
    @VinodMoorkoth Pƙed 3 lety +2

    Special video on special method by a special person ! :)

  • @ravindrakm3248
    @ravindrakm3248 Pƙed 3 lety +1

    Welcome back đŸ€˜đŸ€˜

  • @ravichandra2305
    @ravichandra2305 Pƙed 3 lety

    after a long time.. me is waiting..

  • @Oodelally
    @Oodelally Pƙed 3 lety

    Are you planning on covering other languages, this format works very well for learning!

  • @jakeambrose4294
    @jakeambrose4294 Pƙed 2 lety

    excellent

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

    The accent, the attire, the background, make me imagine. Some advanced AI tutor đŸ€”

  • @ReDream
    @ReDream Pƙed 2 lety

    Thanks!

    • @Socratica
      @Socratica  Pƙed 2 lety

      Thank you for your kind support!! 💜🩉

  • @lefreesensei4654
    @lefreesensei4654 Pƙed 2 lety

    By far the best videos on python on the internet. Could you please make videos on neural networks... specifically as it relates to object detection using ResNext50

  • @livinkumarsaravanan3781
    @livinkumarsaravanan3781 Pƙed 9 měsĂ­ci

    Clever......😼

  • @banzooiebooie
    @banzooiebooie Pƙed 3 lety

    You are special!

  • @B._Smith
    @B._Smith Pƙed 3 lety

    Ulka is such a gem.

  • @raviv5109
    @raviv5109 Pƙed 3 lety

    After long time .. !

  • @mienislav
    @mienislav Pƙed 2 lety

    "Thorough this video I will not pronounce the leading underscores because nobody got time for that"
    This line killed me XD

  • @vishnuhari8713
    @vishnuhari8713 Pƙed rokem

    Thanks

  • @vinaynaik953
    @vinaynaik953 Pƙed 3 lety

    Oh my god you are back

  • @PunmasterSTP
    @PunmasterSTP Pƙed 2 lety

    Special methods
    In a Python tutorial.
    Ulka's back,
    With sarcasm for you all.
    Learn some Python
    And have a laugh too.
    With dunder and magic
    Comin through.
    Such a great channel on CZcams?
    Who knew!

  • @jakamsoohia7492
    @jakamsoohia7492 Pƙed 3 lety

    Oh your back

  • @flexairz
    @flexairz Pƙed 3 lety +3

    Ulka is very special..