CLASSES & OBJECTS - PYTHON PROGRAMMING

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 183

  • @pythonsingh210
    @pythonsingh210 4 ปีที่แล้ว +20

    All Indians should promote this channel for Python. Sir teaches with such a passion.
    After following so many foreign channels I landed here and can see that the stuff is discussed in convenient way.
    Serious teaching for serious learning. No music no band baaja baraat !

    • @majazfatima
      @majazfatima 6 หลายเดือนก่อน

      i agree with you bro... i started learning python and i have 100 of videos on youtube finally i saw this video and im genuinely telling you that he cleared all my doubts in oops ..i saw apna college videos ,code with harry mosh and many more but here i learn this concept perfectly

  • @kedarpanday3050
    @kedarpanday3050 3 ปีที่แล้ว +43

    No one has explained the concept as good as you did ! Thank you ! Do you have any live online class/tutorials session ?

  • @ananthsb3955
    @ananthsb3955 3 ปีที่แล้ว +36

    superb sir, no one explains in deep and details , you are doing really a great job. thank u sir.

  • @shahzaib36
    @shahzaib36 4 ปีที่แล้ว +11

    Excellent explanation of Object and class. Thank you Sir. Love from Pakistan

  • @aadhilks2281
    @aadhilks2281 2 ปีที่แล้ว +8

    Not even my teachers or any other youtube videos couldn't help me with OOPS concepts as this much... you really a life-saver..sir ❣️

    • @jrkagame2695
      @jrkagame2695 11 หลายเดือนก่อน

      Likewise me, I have been struggling to understand the concept of oop. All the youtube channels i have watched, this channels it the best, when it comes to oop

  • @maydelex
    @maydelex 5 หลายเดือนก่อน +2

    This is the first time i understand OOP, class and objects. You are the best teacher i have come across on TH-cam. Thank you for a great Lecture. i iwll be keeping in touch with you...Dele from Nigeria

  • @grishmareddy7882
    @grishmareddy7882 3 ปีที่แล้ว +6

    Class Sir :
    def video(self) :
    Print ("Awesome video")
    Hi=sir()
    Hi.video()

  • @manubenny8929
    @manubenny8929 4 ปีที่แล้ว +1

    I have gone through many videos to understand class and obj...Bt finally I got it from u..
    The way of presentation is easy for beginners

  • @chetandurgavale5623
    @chetandurgavale5623 3 ปีที่แล้ว +6

    Nice explanation. Your efforts made it us Easy to Understand the Core concept and can remember for a long time. Really appreciated your efforts.

  • @deobratsingh5415
    @deobratsingh5415 2 ปีที่แล้ว +3

    Thank you so much Sir for giving us such a deep understanding and clarity of classes, read several articles but was not able to understand clearly.

  • @mayurpatil6295
    @mayurpatil6295 2 ปีที่แล้ว +4

    thank you sir!
    you make me clear this concept very easy.
    you are the real gem!

  • @zgod3264
    @zgod3264 3 ปีที่แล้ว +3

    sir i was so confused about these topic .after watching your vedio i was so clear about this.
    I hope every dobuts of mine can be cleared with your vedios.
    THANK YOU SIR!

  • @Sapkaal
    @Sapkaal 4 ปีที่แล้ว +1

    your teaching style is Clear and simple to understand ....thanks

  • @KirtanPatel552
    @KirtanPatel552 2 ปีที่แล้ว +1

    That's perfect method for understand some concepts..... thanks 👍👍

  • @DennySatyala
    @DennySatyala 9 หลายเดือนก่อน

    thanks sir for this lecture with proper language which is easy for even beginners to understand

  • @teetanrobotics5363
    @teetanrobotics5363 5 ปีที่แล้ว +9

    Sir really love your channel. It offers amazing content.Could please you please make a playlist for "Algorithms in c/c++" ?

  • @yomisodiq3340
    @yomisodiq3340 2 ปีที่แล้ว

    I am super excited about your explanation. You are my best online tutor. Best wish for you everyday.

  • @TDNoteBook
    @TDNoteBook 2 ปีที่แล้ว +1

    Thank you very much sir. Your way of teaching and explanation is outstanding.

  • @sruthimeena3782
    @sruthimeena3782 2 ปีที่แล้ว

    Superb explaination.after seeing this video first time i subcribed ur channel sir

  • @syntheticfiber7388
    @syntheticfiber7388 3 ปีที่แล้ว +2

    Thank you so much, sir. I've really understood OOP for the first time.

  • @penujahansith2688
    @penujahansith2688 10 หลายเดือนก่อน

    Thank u sir, u r brilliant ❤ Love from Sri Lanka!

  • @Musiclover23-v9p
    @Musiclover23-v9p 8 หลายเดือนก่อน

    Great lecturing, nayone can understand it. thank you so much for your great class

  • @opyjoe3407
    @opyjoe3407 4 ปีที่แล้ว

    The best tutorial on Class and Object in Python hands down

  • @studypurpose-lm6xc
    @studypurpose-lm6xc ปีที่แล้ว

    Thank you for making such a nice video sir nice explanation 👏👍

  • @mahmudoduoye7391
    @mahmudoduoye7391 3 ปีที่แล้ว +1

    Thanks. You're a real teacher.

  • @suneethaanil9245
    @suneethaanil9245 3 ปีที่แล้ว +1

    NEAT EXPLANATION.. THANK YOU SO MUCH, SIR.. REALLY FANTASTIC

  • @nirobahmed5505
    @nirobahmed5505 2 ปีที่แล้ว

    Thank you Sir,Thus for explain.I learned how to declare object........and class...

  • @anushreejoshi1829
    @anushreejoshi1829 2 ปีที่แล้ว

    No one explained like uh...you explained very well...sir...

  • @mercymoygetahun
    @mercymoygetahun 2 ปีที่แล้ว

    I am amazed by your grateful explanation, Sir!

  • @aniketp.7523
    @aniketp.7523 3 ปีที่แล้ว +1

    Scratching my head for understanding oops in python,
    After watching the video, Bamm! Double Bamm!!
    All sorted

  • @maheshmenta5560
    @maheshmenta5560 2 ปีที่แล้ว

    With good introduction explanation is nice Sir

  • @manuelvaal1257
    @manuelvaal1257 2 ปีที่แล้ว

    This guy is a life savior

  • @Varunkumar-lr1op
    @Varunkumar-lr1op ปีที่แล้ว

    Actually the variables which are created inside the class are called as class attributes and the variables which are created inside a method is called instance attribute.... and we can access class attribute using classname. If we want to access instance attribute which is inside method then we should access it by using a method we cant access instance attribute using class.And we can't access methods using class name.with the help of object only we can access..
    And self is a identifier which holds the address of a current object

  • @ishwaryakb4664
    @ishwaryakb4664 9 หลายเดือนก่อน

    Clear and easy to understand!! Thank you sir

  • @galisatish2587
    @galisatish2587 ปีที่แล้ว

    Great sir.thank you for ur explanation

  • @bhushanyewale2057
    @bhushanyewale2057 4 ปีที่แล้ว

    It is really very good explanation ....I totally understud the this...

  • @eliyachristophernandi6306
    @eliyachristophernandi6306 3 ปีที่แล้ว +2

    best tutorial for beginners in OOP

  • @venkatakrishnamangavalli9611
    @venkatakrishnamangavalli9611 3 ปีที่แล้ว

    Super explanation sir, better way to understood.

  • @rajendraks
    @rajendraks 2 ปีที่แล้ว

    Thx for illustration. It helped alot. Have a query - how to pass an attribute value(Dictionary) from inside a method in one class to method of another class.

  • @sundark9873
    @sundark9873 3 ปีที่แล้ว +1

    Hello sir
    Your doing great job in teaching
    Keep going on ...

  • @bharatg15
    @bharatg15 2 ปีที่แล้ว +1

    Sir, At 10:18, the variable is defined just below the class name and above a function. So, shouldn't it be a Class variable in such a case? But it has been mentioned as Instance variable. Pl check and reply.

    • @KVishya
      @KVishya 2 ปีที่แล้ว

      Yes, they are class variables, I think it was a slip of toungue from his side :)

  • @bismicharleys5984
    @bismicharleys5984 4 ปีที่แล้ว

    Sir, your explanation is very clear & precise

  • @Kamal-sn5by
    @Kamal-sn5by ปีที่แล้ว

    Hi sir, your explanation is very good
    I have small doubt,if I want use the variable defined inside the read function outside of the class, how to access it .
    Can you pls explain

  • @jallikumarprudhvisrinivas2809
    @jallikumarprudhvisrinivas2809 4 ปีที่แล้ว +1

    It's actually a lovely session sir, Understood clearly

  • @akashjulius4445
    @akashjulius4445 2 ปีที่แล้ว

    thanku sir.... love u from pakistan. thanku soooooooooo much

  • @vamsireddy932
    @vamsireddy932 3 ปีที่แล้ว +1

    When will we write the def __init__() function in class,sir?

  • @MiaTheDreamer
    @MiaTheDreamer 2 ปีที่แล้ว

    Dankeschön.. Du bist sehr gut 👍🏿

  • @Krishnakumar-fr5sw
    @Krishnakumar-fr5sw 2 ปีที่แล้ว

    Sir I have one doubt what is self keyword? And why we are using keyword inside our function as argument?

  • @i.balazs
    @i.balazs 3 ปีที่แล้ว +1

    This explanation of instance variables is confusing. I think the variables "rno", "name", "branch" at 18:19 are NOT instance variables, but class variables. Correct me if I am wrong.

  • @ParasKumar-oj4lc
    @ParasKumar-oj4lc 4 ปีที่แล้ว +1

    Amazing tutorial sir.
    It's really help me

  • @Khalvinda
    @Khalvinda 3 ปีที่แล้ว

    Very effective teaching ....thank u sir..

  • @srikanthgandhi7289
    @srikanthgandhi7289 4 ปีที่แล้ว

    Ultimate Explanation. Clean and Clear , easily understandable. Keep Up your good work

  • @pagadalasrinivas5487
    @pagadalasrinivas5487 4 ปีที่แล้ว +2

    sir what is the use of creating second object(obj) inorder to access the class members

    • @nagalakshmikollu3691
      @nagalakshmikollu3691 3 ปีที่แล้ว

      To access the same class again by using the object (obj)

  • @sureshkarakam9174
    @sureshkarakam9174 3 ปีที่แล้ว +1

    i have one doubt
    can i access class through function like
    ex:above code
    1. abc.write()
    2.student.write() this is possible

  • @sarangansubramaniam4554
    @sarangansubramaniam4554 4 ปีที่แล้ว

    Best easy precise and correct explanation

  • @wineyrajan5091
    @wineyrajan5091 4 ปีที่แล้ว

    sir you are an excellent teacher...Thank u sir...great...

  • @krishnamirji2495
    @krishnamirji2495 4 ปีที่แล้ว

    Very easy to understand best teaching sir😀

  • @city_roczs971
    @city_roczs971 5 ปีที่แล้ว +2

    Sir make an another example of class with different example which we use in real life

  • @Prasad1487
    @Prasad1487 2 ปีที่แล้ว

    Thank you very much... soooooooooooooo... helpful

  • @kaviyavivek6608
    @kaviyavivek6608 11 หลายเดือนก่อน

    Very helpful..thanks a lot

  • @kammarisunku7436
    @kammarisunku7436 3 ปีที่แล้ว

    Superb explain sir 👏 & also explain {data abstraction , inheritance } coding type sir pls explain this two topics

  • @sirisiri7909
    @sirisiri7909 3 ปีที่แล้ว

    You said first preference is for function not for instance variable but getting the previous result 22:1 see at this time

  • @claranfon-yp1gb
    @claranfon-yp1gb ปีที่แล้ว

    I would love a real world example as these concepts can be used at work.

  • @aadhilks2281
    @aadhilks2281 2 ปีที่แล้ว

    Underrated Gem 💎

  • @dhanasingitham8138
    @dhanasingitham8138 3 ปีที่แล้ว

    Good morning sir, at last we have taken two objects but only a student details are there, at output screen what we have to give input.

  • @geethanjalibandikanti7878
    @geethanjalibandikanti7878 2 ปีที่แล้ว

    i always felt OOPS concept v difficult. Your lecture are simple and v easy to understand. Can you help me with the lambda function and data types classes?

  • @souravkundu1898
    @souravkundu1898 2 ปีที่แล้ว

    Sir ji I have a question, I need to creat two objects(here two students: say s1 and s2) from the same class. I Should Assign different roll no, different names etc to each of the objects of the same class , which is quite obvious. But how to do so? Please help me. Eagerly waiting for your reply Thank in advance

  • @trinadhravada9467
    @trinadhravada9467 3 ปีที่แล้ว

    Sir in object you use class name and object name to print statement why sir both...???

  • @Sainath_Surface
    @Sainath_Surface ปีที่แล้ว

    Sir I have one doubt that global varibles(instance variables)can be accessed anywhere in function without self , but why you used self for this, self is used to access the local variables of one function in another function na.
    pls reply for my doubt.

  • @csreenivasulu3215
    @csreenivasulu3215 2 ปีที่แล้ว

    Hello sir,
    Good Afternoon
    What is the use of second object in class? Can u explain I tried it on one example but it was same that thing I confused can u explain that sir?

  • @Ad___hi_
    @Ad___hi_ 4 หลายเดือนก่อน

    Great explanation sir🙌

  • @Rahul-singh03
    @Rahul-singh03 4 ปีที่แล้ว

    Gudmrng sir why ur giving def read and write whats the difference in output

  • @zuhaib8128
    @zuhaib8128 5 ปีที่แล้ว +1

    how r u sir? u r going very nice , here i am waiting of your next lecture.

  • @raviroogi9030
    @raviroogi9030 2 ปีที่แล้ว

    Sir,here you told that class members can be accesses by object name and also by class name then what is the necessity of creating object?

    • @murgan4307
      @murgan4307 2 ปีที่แล้ว +1

      If more than 1 students are present in than class we need to access all students information we use that time the variables are in general in this way objects helps

  • @dimplebhati8845
    @dimplebhati8845 ปีที่แล้ว

    Sir , You have done mistake while saying about instance variable...
    Instance variables are declared 'inside' the constructor & methods of class &
    Static or class method Is declared inside the class but outside of the class methods i.e instance methods

  • @BillaBhaiii
    @BillaBhaiii ปีที่แล้ว

    Sir thanks a lot, literally I have searched everywhere for this concept 🥲

  • @ainsteenvarghese6337
    @ainsteenvarghese6337 3 ปีที่แล้ว +1

    Super explanation

  • @preetisaim4041
    @preetisaim4041 5 ปีที่แล้ว +2

    Very nice explanation

  • @vinaykumar-eb8jb
    @vinaykumar-eb8jb 3 ปีที่แล้ว

    we can access function name with only object name but why not with class name?

  • @ayushbarot
    @ayushbarot 2 ปีที่แล้ว

    Awesome explanation

  • @shaiknageen4746
    @shaiknageen4746 4 ปีที่แล้ว +5

    Hello sir , Im new to programming and have zero knowledge. could you please suggest me how to be good at coding and writing logic. so that i can learn it quickly.

    • @allinone-bb7rq
      @allinone-bb7rq 4 ปีที่แล้ว

      Practise coding questions one by one,and read Python crash course book

    • @sumanpalisetty6096
      @sumanpalisetty6096 4 ปีที่แล้ว

      don't read crash course book, they will not cover minute details

    • @kashifalamdar6118
      @kashifalamdar6118 4 ปีที่แล้ว

      @@sumanpalisetty6096 Kindly prefer any good book for beginners which include minute details.

    • @chilloutshow
      @chilloutshow 3 ปีที่แล้ว

      @@kashifalamdar6118 bro, study multiple material on same topic and you will see whats missing. On every tutorial, book, blog or video you will know something new which may not be on another course. Its my personal suggestion to know all the core things without physical guru.

    • @kashifalamdar6118
      @kashifalamdar6118 2 ปีที่แล้ว

      @@chilloutshow Thanks man

  • @haripattimi9794
    @haripattimi9794 3 ปีที่แล้ว

    superb explanation sir...

  • @shubhambandekar16
    @shubhambandekar16 3 ปีที่แล้ว

    nice explanation sir...!

  • @WA-sf3kg
    @WA-sf3kg 3 ปีที่แล้ว

    great explanation sir.
    thank you so much

  • @sampath2927
    @sampath2927 3 ปีที่แล้ว

    Sir are the functions cant be accesed by using object name?

  • @umamaheswari929
    @umamaheswari929 5 ปีที่แล้ว +1

    Please do the videos for dotnet programming language sir...

  • @shashankgowda2399
    @shashankgowda2399 2 ปีที่แล้ว

    Concept perectly explained

  • @srikanthchavala5430
    @srikanthchavala5430 3 ปีที่แล้ว +2

    Super teaching sir

  • @bharathvemula7561
    @bharathvemula7561 3 ปีที่แล้ว

    sir, can we update the class-variable by assignning new variable?

  • @ReenaSowndari
    @ReenaSowndari 8 หลายเดือนก่อน

    what can we do with second created object pls explain

  • @KRISHNAPRASAD-xy7tr
    @KRISHNAPRASAD-xy7tr 3 ปีที่แล้ว

    Hi sir,
    1. when we are hardcoding variable values then what is the use of creating 2 different objects?
    2. If i want to insert/generate data for 60 students, how to handle this? In my mind just declare the variables without assigining values & by creating 60 different objects and by using those references and generate/insert 60 students data..
    TIA sir

  • @jayanthigopinath9527
    @jayanthigopinath9527 ปีที่แล้ว

    Sir if is it possible to print 5 student details using class . How to print list of students detail sir please tell me sir

  • @YouMeverse
    @YouMeverse 3 ปีที่แล้ว

    we love you sirrrr. thank you.

  • @yashaskumargb3827
    @yashaskumargb3827 3 ปีที่แล้ว

    Ma'am can u explain the difference between attributes methods objects instances class function instances

  • @preethig5768
    @preethig5768 3 ปีที่แล้ว

    sir you are a gem ! thank u so much

  • @santhoshkumarsanthu7792
    @santhoshkumarsanthu7792 3 ปีที่แล้ว

    Tqq sir excited job 🤝🤝🤝👍

  • @ajirinath4390
    @ajirinath4390 ปีที่แล้ว

    lecture down to earth

  • @patteboyinadharani1702
    @patteboyinadharani1702 3 ปีที่แล้ว

    Super explanation sir👌👌👌👌👌👌👌👌👌👌

  • @indian6257
    @indian6257 ปีที่แล้ว

    Sir
    self.rno Ani iste instance variable Ela access ayyindhi oo cheppandi sir pls

  • @neelaramesh3765
    @neelaramesh3765 3 ปีที่แล้ว

    thank you very much sir for your explanation