#50 Python Tutorial for Beginners | __init__ method

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

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

  • @tejaswibhargava8745
    @tejaswibhargava8745 Год назад +48

    Irony is, I was taking a Udemy course on python and I was having trouble understanding a few concepts so I quickly looked up for telusko learning and Bingo!! I have my doubts cleared. Thanks a lot Sir.. you are one of the best educators out there.

  • @mnschannel6237
    @mnschannel6237 5 лет назад +64

    You just cleared all my doubts which my teacher couldn't.you're teaching is amazing.

  • @danielpilotta5988
    @danielpilotta5988 5 лет назад +22

    After months of not understanding my teacher's explanations, I finally understood what this piece of code actually does! Thank you very much!!!

  • @feagy
    @feagy 2 года назад +4

    After reading so many coments till now on each videos , that how they faced many difficulties to learn concept in prog , i m feeling very lucky that i started learning programming for the very 1st time and i got u sir....reallyy u r blessing for us and blessing in disguise for many students ....realy u educate us jai hind 🇮🇳 🇮🇳 🇮🇳 🇮🇳 🇮🇳 🇮🇳

  • @Adks007
    @Adks007 4 года назад +58

    How do you make things look simpler? I would like to really appreciate the editing work you have put in to make your videos. You are really a passionate man. Love from United States.

  • @ranjitkashid1999
    @ranjitkashid1999 4 года назад +10

    Your tutorials are really informative and to the point. You have packed concepts in the very short video but you are explaining them in-depth without missing a bit. You are a really amazing teacher and programmer. Thanks a lot for sharing this on RUclips.

  • @thepotato5468
    @thepotato5468 4 года назад +12

    Literally searched for hours trying to understand and this explained it in minutes. Thanks!

  • @AkhilKumar-bj7yd
    @AkhilKumar-bj7yd 5 лет назад +9

    I have searched alot about initializer..eventhough in paid websites cant gave perfect concept...But u gaved...absolutely legend..thank u sir

    • @Kig_Ama
      @Kig_Ama 4 года назад

      What do u excatly mean by paid websites?

    • @muhammadreyaaz808
      @muhammadreyaaz808 4 года назад

      @@Kig_Ama udemy lol

    • @Kig_Ama
      @Kig_Ama 4 года назад

      @@muhammadreyaaz808 Oh, I c, ty

    • @parasar1980
      @parasar1980 4 года назад +2

      *gave
      gaved ain't a word...

  • @haanjihaan8768
    @haanjihaan8768 4 года назад +28

    Sir , give some assignment problem so that what we are learning can be understand better

  • @Bloodair
    @Bloodair 5 лет назад +91

    Finally someone explained self properly

    • @piyushpranjal1837
      @piyushpranjal1837 3 года назад

      Exactly bro, got the exact reason behind the self keyword. Till yet i am just thinking that it is just used for binding the values for an object but now i get it that "gangadhar he shaktiman hai"

  • @ricy802
    @ricy802 5 лет назад +5

    I have to thank you. I was watching another series on Python and was stuck on Classes. This video and your previous video really cleared up when I can use self.attribute when I want to reference attributes when inside my class and when I need to reference the object when it has been created outside of the class.
    I will have to run through your other videos to sure up my knowledge. I will definitely be back.

  • @amarnathbr3420
    @amarnathbr3420 5 лет назад +10

    Brother Superga Explain chesnavu. Chaala Help ayyindi.
    Great Work!
    Thank You :)

  • @marjun9631
    @marjun9631 4 года назад +2

    last video was awesome and i practiced it like this way:
    class manifest():
    def man(self):
    global a
    global b
    a=int(input("a value:"))
    b=int(input("b value:"))
    c=a+b
    print('sum is-------->',c)
    def man2(self):
    c=a-b
    if a

    • @SUma-br8bh
      @SUma-br8bh 4 года назад

      Osom man,nizz effort

  • @MrABhitechq
    @MrABhitechq 4 года назад +2

    i can see that u enjoy teaching and at the same time u make it fun. It's so easy to follow even for a person with a non-technical background. Never knew trickiest parts can be made this simple. Thanks again for such engaging video.

  • @zakiasmaa6834
    @zakiasmaa6834 Месяц назад

    Thank you so much for your clear and simple explanations! Python can be a bit overwhelming at times, but you make it so much easier to understand. Your teaching style is amazing, and I really appreciate all the effort you put into your videos. Keep up the great work!

  • @alexmckinley79
    @alexmckinley79 10 месяцев назад +1

    I've been struggling with this for months. Finally, after this video, I think I understand. Thank you!

  • @mrdypk4830
    @mrdypk4830 5 лет назад +2

    AWESOME SIR G...
    this may be the first ever tutorial series on youtube that i'll be watch first time completely... thank you...

  • @danielkamau8436
    @danielkamau8436 4 года назад +1

    A nice class.....as a starter in software engineering, understanding why we are using __init__ has been chaotic, thanks to you Mr Navin, the confusion ending drastically and dynamically....love you pop and flow us with you, and in a way telling us his thing isn't "hard but just unfamiliar"

  • @GarrettMarkScott
    @GarrettMarkScott 5 лет назад +20

    Thank you! It would be nice to see a long 'real' case scenario at the end because for a beginner such as myself it is hard to understand why I'd use __init__ vs. more simplistic variable/print assignments.

    • @ashwenkumar
      @ashwenkumar 4 года назад +6

      In real time scenario u use init to put methods inside it like closing a connection with a DB or similar kind of it .. basically it closed the connection after you have established connection and extracted records ..remember to position init at right place

  • @talhatayyab6422
    @talhatayyab6422 4 года назад +3

    One of the best videos on self and OOP concept.
    Thank you Sir!

  • @nonalcoho
    @nonalcoho 3 года назад +1

    The most amazing video explaining the init method ever.
    Thank you so much

  • @ayushipandey
    @ayushipandey 2 года назад +2

    Great Explanation. You explain difficult concepts very easily. Thanks a ton!

  • @Renee11123
    @Renee11123 3 года назад +1

    Wow, you made understanding classes, init, Self, and variables so much simpler. I'm going from feeling lost to understanding this topic on such a deeper level. As someone new to this I needed all the help I can find. Thank you for such a good paced and passionate lesson!

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

      I m learning python first time from Navin sir ..I didn’t work in python but I feel some part is really easy n some part is not that much easy to understand.what to do ?

  • @anshiksharma1515
    @anshiksharma1515 4 года назад

    Hi Navin..I m not a coding guy and have been struggling to understand concept of "Self" ..You explained it very well..thank you...

  • @utkarshagrawal851
    @utkarshagrawal851 5 лет назад +3

    One sentence:- Telusko ki Jai. Amazing man. Thank you

  • @Anarchristian_Beanz
    @Anarchristian_Beanz 4 года назад +1

    This is probably the fourth video I've watched on __init__ alone but this this is the first one I've felt like I understood it. I'm still hazy so I need to go practice it but you cleared up a lot of confusion on your own.

  • @sindhubasavanna1927
    @sindhubasavanna1927 5 лет назад +4

    Concept is little different from java when it comes to variable assignment. Great explanation. Thanks a ton

  • @danieldoff6489
    @danieldoff6489 4 года назад +17

    Thank you, amazing and easy explanation.
    "If you can't explain it simply, you don't understand it well enough."
    Albert Einstein

  • @vivek3861
    @vivek3861 6 лет назад +4

    6:27 , Yes, i really enjoyed it sir. Great, keep going sir and also very cool style of explanation.

  • @kartikbaderiya7323
    @kartikbaderiya7323 4 года назад +1

    thanks sir thank you so much for explainig me this concept i had tried very much videos but can't find the right approach, but you made it, love you sir we need the teachers like you many more sir thanks thanks thanks thanks for the precious help sir, you are giving that amount of precious knowledge for free sir proud of you sir, love you😍😍😍😍😍😍

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

    Brilliantly concepts are cleared.... I have never watched such explaination.... Great Job. Thanks

  • @onlypivot
    @onlypivot 5 лет назад +8

    for i in range(0,2000):
    print("thank you navin sir")

    • @jkhasizada
      @jkhasizada 4 года назад

      creativee

    • @gigadrian12
      @gigadrian12 3 года назад +1

      Why not use while (AmazingTeacher = True) haha

  • @MoneyMotivation663
    @MoneyMotivation663 5 лет назад +1

    Just watched this episode, I really appreciate the effort you have put-in this video. Thank you so much for all the awesome videos

  • @albertolondonolondono4404
    @albertolondonolondono4404 3 года назад

    you are the man fratello mio....didn't understand a thing from my professor, you showed me the way

  • @daminiamin7118
    @daminiamin7118 6 лет назад +2

    You are Superb, Thanks for making such helpful videos and everything is perfect in your video(concept, minutes)

  • @Seftehandle
    @Seftehandle 2 года назад

    I started reading 2 books to unserstand methods error and it was not until I found this video that everything started making bit more sense. You sir a revelation.

  • @jayanthganguru6913
    @jayanthganguru6913 5 лет назад +3

    Superb sir😍😍.. great teaching no words..keep doing more videos

  • @shubhamkoshti260
    @shubhamkoshti260 3 года назад +1

    It took me to watch thrice, but i understood everything atlast. Great explanation 🙌

  • @harishkodarapu2224
    @harishkodarapu2224 4 года назад

    Wah..!! Wonderful explanation of classes. I have been working with Python from the past 1 year and I always avoided "classes" as I was not comfortable with it, due to lack of proper understanding. Now that I have understood the concept properly, I will go and start using Classes now.
    I have clearly understood now by watching the vdos 49 ad 50.
    Channel name should have been "Correct ga telusko" ;-)

  • @sirharis7462
    @sirharis7462 4 года назад

    Excellent explication, episode #49, #50 and #51 make it so easy to understand this confusing concept.

  • @OwaisKhan-no6vv
    @OwaisKhan-no6vv 5 лет назад +1

    Wonderful tutorials, concise, to the point, preserving the required flow of the topics.

  • @ShahrukhKhan-yy2so
    @ShahrukhKhan-yy2so 3 года назад

    You have the ability to make tough stuff as simple as it can be Thankyou so much sir 🙏

  • @durgesh1227
    @durgesh1227 3 года назад

    Sir your teaching is just awesome. Feels good to learn from someone like u

  • @shinebaka5696
    @shinebaka5696 3 года назад +1

    He is really doing an awesome job. Thank you man!!

  • @badalkumar4775
    @badalkumar4775 4 года назад

    I was in so much doubt related to classes and objects in python. Thanks for clearing it.

  • @anuragsharma4246
    @anuragsharma4246 3 года назад

    Amazing content, very clear and to the point. One recommendation for anyone feeling that tutor speaks too fast (I felt the same). I watched the video at 0.75 playback speed and it helped.

  • @shashikantchaudhary3542
    @shashikantchaudhary3542 5 лет назад

    I don't know why some people dislike such an informative video.

  • @shyamananth
    @shyamananth 5 лет назад +1

    Wonderful video... What a clear explanation... You really rock RUclips.. And Thanks for going out of your way to teach us Python here..

  • @Dabbl1ng
    @Dabbl1ng 2 года назад

    Thanks, this is the first video where I actually understood what's going on here.

  • @aroshanifernando9153
    @aroshanifernando9153 4 года назад

    This is a really good explanation. Now OOP in python is crystal clear for me. Thanks...

  • @dhruvrawat2561
    @dhruvrawat2561 4 года назад +1

    You are a very good teacher

  • @harshitlamba155
    @harshitlamba155 3 года назад

    Hi, that was precisely explained. Just one clarification - when we create an instance, self is passed in init(). That would mean first an empty instance must be getting created somewhere, and then that instance is being passed in init(), where the statements within init() are executed. Please let me know if this understanding is correct as without an instance, what would you pass in init's self argument?

  • @rohanram7197
    @rohanram7197 5 лет назад +6

    Absolute legend sir !!!❣️

  • @julietscholar
    @julietscholar 10 месяцев назад

    You are getting half of my salary, when i get job with this python skill.
    You are a wonderful teacher.. Thanks alot

  • @dr.shreyas123
    @dr.shreyas123 3 года назад

    You have god gifted skill of teaching. 🙏

  • @srushtiagarwal2748
    @srushtiagarwal2748 5 лет назад +1

    yess!!! i understood self clearly. thank a lot Navin sir.😃your Python playlist is amazing!

  • @priyanshusaxena7157
    @priyanshusaxena7157 4 года назад +1

    My teacher takes reference from your videos!!!

  • @akashpoudel571
    @akashpoudel571 5 лет назад

    sir for a fresher things are different......yet if we keep repeating its so interesting to learn from your teaching

  • @chinmayjain1257
    @chinmayjain1257 5 лет назад

    you are teaching amazing the best thing is you are telling all neccessary points in very less amount of time

  • @bhushanadhikari6844
    @bhushanadhikari6844 3 года назад

    I am 11 I like programming and when I watch videos from Navin sir : 1. It boosts my confidence for coding . 2. I understand it in seconds .
    If you feel same leave a like
    👇

  • @yann5489
    @yann5489 4 года назад

    Thanks a lot this is not a trash quality tutorial with an uninterpretable Hindi accent but a well-made tutorial, many thanks!

  • @kingswaddy2436
    @kingswaddy2436 4 года назад

    search any thing u wanna learn in python in net and all u get is rubbish . this guy explains it so well.

  • @shivaprasadmallikarjunaiah3751

    I ♥ Python because.... Navin Reddy is teaching Python😀😀 What else can I say, this is tutorial #50, I have come so far only because of his way of teaching in understandable manner and kept it interesting.

  • @rishitadwivedi5528
    @rishitadwivedi5528 4 года назад +1

    great explanation sir

  • @ranjeetjagadale4033
    @ranjeetjagadale4033 4 года назад

    So Nice teaching beginner definitely become expert Thank you.......

  • @vkp111
    @vkp111 5 лет назад

    A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters. Parameter is variable in the declaration of function. Argument is the actual value of this variable that gets passed to function.

  • @sanjaykumarbm8948
    @sanjaykumarbm8948 2 года назад

    OMG!!!! I wish I knew that init method and self had so much of detailing..
    Amazing explaination 😎🥳

  • @medhananjay9099
    @medhananjay9099 4 года назад +1

    your teaching technique is amazing !!

  • @dibinantonyjose
    @dibinantonyjose 5 лет назад +2

    Wonderful Explanation

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

    best...sir.....best teacher.

  • @akarshls687
    @akarshls687 5 лет назад +1

    Awesome Explanation.......u are absolutely superb......

  • @pranaymaheshwari1555
    @pranaymaheshwari1555 4 года назад

    Hey Telusko, I loved your explanation on __init__.
    I have a question that whether in line 4 of the code I'm writing below, should"nt it be "self.engagement = engagement" instead of "self.engagement_metrics = engagement". And if the answer is no please explain.
    class User:
    def __init__(self, name, engagement):
    self.name = name
    self.engagement_metrics = engagement
    self.score = 0

  • @lukskywaker
    @lukskywaker 3 года назад

    Very well expiained. Your videos are excellent in terms of content and design... thank you.

  • @shakermaker19
    @shakermaker19 5 лет назад

    This is a great explanation. I had spent days struggling with the self and init concepts. Thanks.

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

    Thank you very much. You are a genius.

  • @hemrajnigaah6981
    @hemrajnigaah6981 5 лет назад

    Sir your teaching style is awsum......thnqs a lott. I am not from IT backround. But you made it very easy.

  • @rawant0k790
    @rawant0k790 5 лет назад +1

    Mr. Navin in the last program u run it ... the result gave config is i5 16 and config is ryzen 3 8 ... my question is :
    For the user when he will see the output he will did not know each config to which object is assigned so how can we present the name of the object in print section in config method ???
    waiting an answer and thank you :)

  • @franzbiberkopf9179
    @franzbiberkopf9179 4 года назад +1

    Love the Indian accent. Greetings from Italy!

    • @ajaybhandari9215
      @ajaybhandari9215 4 года назад

      u know what i was just scrolling down in comments for my query and saw your comment and then i wasted my like an hour finding in utube ...why indian accent seems to be funny ...and guess what i didnt find anything...lolzz

  • @msrahman2010
    @msrahman2010 4 года назад

    Good presentation on self and __init__ method.

  • @aanchalsharma5264
    @aanchalsharma5264 5 лет назад +1

    Great teacher on earth..🙏🙏

  • @bharathreddy6208
    @bharathreddy6208 4 года назад +7

    At 3: 12 why is same statements consecutive to each other. I mean "in init" be the first line and second line should be "i5, 16gb, 1tb". Please clarify ??

    • @ronikdedhia1080
      @ronikdedhia1080 4 года назад +2

      no, it does not work that way. Constructors are executed as soon as the object is made. In the code, two objects are created, then two methods are called, so first "in init", and the individual properties.

  • @solaisairamrm9089
    @solaisairamrm9089 4 года назад

    really awesome bro,ur teaching is just so clear bro, its just easy to understand

  • @gajendrasonare
    @gajendrasonare 4 года назад +1

    Can we print argument directly? If yes then why we have to use self.argument to print the output?

  • @abdussamad9399
    @abdussamad9399 4 года назад

    This is the best explanation i have ever had. Thanks a lot.

    • @karthiktu2796
      @karthiktu2796 4 года назад

      While True:
      print('Thank you navin sir')

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

    Best concise explaination ever💝❤️

  • @balireddyyerabham331
    @balireddyyerabham331 4 года назад

    good job teaching wish you well i am learning python well

  • @cuti9114
    @cuti9114 2 года назад

    Thankyou so much for such awesome tuotorial❤It helped me alot.Stay blessed

  • @aryic0153
    @aryic0153 3 года назад

    self-----> is self an object here , and also com1 .com2 is also object , so there are three objects in the programm totally

  • @ayushmathur154
    @ayushmathur154 4 года назад

    Sir one video to explain what is exactly --init-- is... What the use of it please solve my problem

  • @venkatasandeep5917
    @venkatasandeep5917 2 года назад

    every time i watch telusko learnings videos, i wanted to comment whats missingin the videos but, i am failing i cant find a single flaw in the video even in animations. ThankYou sir

  • @rohanmalik2910
    @rohanmalik2910 4 года назад

    an difficult topic covered with ease..
    thank you so much sir..!!

  • @adthn
    @adthn 4 года назад

    Sir.......your videos r very helpful !!
    thankyou so much for this explanation...the way u explain stuff is priceless....
    and it's a bit late but i've subscribed :)

  • @dhamayanthidevikumaramanga4578

    Your explanation is awesome.

  • @DharmeshTechZone
    @DharmeshTechZone 4 года назад

    Nice explaination sir for learner thankyou

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

    I need more practice to absorb these. Thanks for the video! it rocks

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

      See mine too. The channel has both Python an R playlist, with detailed explanation step by step arranged by sections.

  • @shivaniSingh25110
    @shivaniSingh25110 4 года назад

    the best part of you teaching is "how you connect small-small dots to show bigger picture "

  • @jairaj9614
    @jairaj9614 4 года назад

    Thanks a lot telusko...you have proven very helpful for me in this lockdown

  • @sarthakhaldar9107
    @sarthakhaldar9107 4 года назад

    aap programming ka to top notch tutorial banate ho. life ko acche lead karne ka bhi tutorial bana do

  • @swamygoskula1785
    @swamygoskula1785 3 года назад

    i love your way of explanation really great mentor

  • @abhiruparoy9643
    @abhiruparoy9643 5 лет назад

    Your videos are just awesome.
    Please discuss more details on matrix.
    I want a complete series on Rest API and Django.