#16 Classes and Objects Part -1 | Python Tutorial Series | In Tamil | EMC Academy

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • I will be introducing you to the concepts of classes and objects in Python.
    Classes and objects are fundamental concepts in object-oriented programming (OOP) that enable us to write efficient and modular code. They allow us to create blueprints, known as classes, which define the attributes and behaviors of objects.
    In Python, classes are created using the "class" keyword, followed by the name of the class. Attributes, also known as instance variables, represent the data or characteristics of an object. We can define these attributes inside the class using variables.

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

  • @jencejohnjnc2218
    @jencejohnjnc2218 Год назад +63

    Sir, please avoid the background music. Nice Explanation and easy understanding sir.Thanks

    • @janarthanalife4837
      @janarthanalife4837 10 месяцев назад +3

      my noise cancellation works when background music runs its use full

    • @masssurya5262
      @masssurya5262 10 месяцев назад +4

      Anda bm ilana cls boring gaa aavum bro

    • @Yourcodingfriendsaruk
      @Yourcodingfriendsaruk 7 месяцев назад

      correct da@@masssurya5262

  • @dhanam2216
    @dhanam2216 6 месяцев назад +10

    We want a marvellous teacher like u for all subjects what a clr understanding!!! Super hats off 👏

  • @DEVpunk2077
    @DEVpunk2077 Год назад +10

    thanks ☺to EMC , after watching your video i feel expect in python
    i can able to solve any programm and write own code
    once again thank you to EMC .

  • @redheartbgm568
    @redheartbgm568 15 дней назад +2

    Thank you bro Now only I understanded this topics....🙏🏼

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

    I just wanted to say thank you for your incredible teaching style! Your explanations are always so clear and valuable, making even the most complex topics easy to understand. It's evident that you put a lot of effort into your content without any self-promotion, focusing purely on helping your viewers learn and grow. Your dedication and selflessness are truly inspiring. The way you address your audience is particularly appreciable, making us feel engaged and valued. Please don't stop posting videos - your content is a beacon of knowledge for so many of us. Keep up the fantastic work!

  • @SadiqsChannel
    @SadiqsChannel 7 месяцев назад +4

    Hi John,
    You're teaching skills and strategies are simply awesome. Keep rocking.
    There is a suggestion regarding Classes and Object anology.
    Relationship between a Class and an object is that a class act as a blueprint for an object.
    A Class define how an object should behave, You need to make an Object in order to give life for a Class.
    goa, an object of class City.
    goa, an object of class TouristSpot
    ramesh, an Object of class Person/Traveller
    These makes sense.
    Ramesh is a object of Type Goa doesn't make sense.
    Hp instance of class Laptop makes sense.
    Please correct it.
    Thankyou.

  • @arulventhan641
    @arulventhan641 5 месяцев назад +5

    Thank you, please avoid backgrond music

  • @vishnupadmanabhan4844
    @vishnupadmanabhan4844 8 месяцев назад +2

    What is the use of (self) and how it works,please explain.And why we didn't use it in 2nd problem..

  • @trapkingbgm4447
    @trapkingbgm4447 18 дней назад +2

    I'm just lazy so i did this code in same method as yours but not the exact question 😅
    class Laptop:
    Price=""
    Ram=""
    def Fast(self):
    print ("Faster Performance")
    def expensive(self):
    print ("""expensive for this price""")
    Dell=Laptop()
    Dell=Laptop()
    Dell.Price="70000"
    Dell.Ram="4gb"
    print("Dellprice:",.Price)
    print("DellRam:",Dell.Ram)
    Dell.expensive()
    Dell.Fast()

  • @aravindkmurugan1743
    @aravindkmurugan1743 7 месяцев назад +1

    Thank you . Video helped me understand the concept ease. Keep doing it bro

  • @joswinff6134
    @joswinff6134 Год назад +2

    Nenjaarntha nandrigal bro🤸‍♂👍👍👍

  • @TalkWithAz
    @TalkWithAz 11 месяцев назад +2

    Please teach DBMS with All possible Diagrams such as ER, EER, etc..

  • @sakthik9452
    @sakthik9452 5 месяцев назад

    Thank you soooo much.Ivlo easya purira mari oopsah yarumey solli thara mudiadhu🤝

  • @E-SUVIRS
    @E-SUVIRS Месяц назад

    superb finally confusion is cleared😇

  • @macokayyyy
    @macokayyyy Месяц назад +1

    Background music disturbance ah iruku broo

  • @HRKCineThoughts
    @HRKCineThoughts 4 месяца назад

    Super Brother, Vera Level Explanation 🙌🙌🙌🔥🔥

  • @RVenkatesan-ng6kr
    @RVenkatesan-ng6kr 3 дня назад +1

    Bro last varaikum antha self parameter edhuku use pananum solave illa

  • @Ai-HCI
    @Ai-HCI Год назад +1

    Very good explanation Brother !!!! Thank you very much !!!!😊

  • @rohith927
    @rohith927 5 месяцев назад

    Fantastic way of explanation brother! Very helpful

  • @YOUNG_FARMER_03
    @YOUNG_FARMER_03 Год назад +3

    nice explain bro .... instance , class and static methods pathi explain pannuga bro

  • @SSiva-ht3gk
    @SSiva-ht3gk 6 месяцев назад

    Anna intha video enaku romba helpfulla itunthathu. TQ

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

    super bro.thanks for educating me.

  • @MaheshKumarChelladurai
    @MaheshKumarChelladurai Год назад +4

    super but unga background music thookam varuthu........

  • @azarudeena6467
    @azarudeena6467 Год назад +1

    class laptop:
    def __init__(self, price, process, ram):
    self.price = price
    self.process = process
    self.ram = ram
    hp = laptop(10,"i5",8)
    print("HP")
    print(f"price: {hp.price}, process: {hp.process}, ram: {hp.ram}")
    dell = laptop(20,"i3",7)
    print("Dell")
    print(f"price: {dell.price}, process: {dell.process}, ram: {dell.ram}")
    lenovo = laptop(30,"i7",12)
    print("lenovo")
    print(f"price: {lenovo.price}, process: {lenovo.process}, ram: {lenovo.ram}")

  • @abithafeliciya5042
    @abithafeliciya5042 6 месяцев назад

    Awesome explanation bro easily understood. Thank you ❤

  • @sivakumarkumar3581
    @sivakumarkumar3581 4 месяца назад

    Nice explanation bro 😊 I really understood

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

    Bro super explanation such a easy way u explained it..thank you for this video

  • @satheeshkumar6044
    @satheeshkumar6044 2 месяца назад +1

    In function print lines are no need i think?

  • @infinitysoul3850
    @infinitysoul3850 2 месяца назад

    bro kadasi varikum andha variable define panna edathula ethuku self potinga nu solave ila?😉🤞....ama ethuku athu??

  • @alluarjun8987
    @alluarjun8987 4 месяца назад +1

    bro class kulla top la price=" " ram= " " ... ippadi potu irukinga.. but adhu why..? no use dhana..?? because adhuku bathila a=10 apdinu anga potu run pannalum.. same output dhaan varudhu.. then what is use of first three line inside class.. please reply Im confused.. please reply brother

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

    This is interesting....

  • @sanjaikumar-u8o
    @sanjaikumar-u8o 2 месяца назад +1

    Anna please avoid background music

  • @momsmagictamil2825
    @momsmagictamil2825 Год назад +1

    Object means what.. please explain with simple example

  • @AHMEDAHMED-gd1ri
    @AHMEDAHMED-gd1ri 27 дней назад +1

    Super ❤

  • @sv2023-zd5vc
    @sv2023-zd5vc 7 месяцев назад

    Its like we are assigning the variable both in class and again out of the class,

  • @lavanyad5872
    @lavanyad5872 7 месяцев назад +1

    Thank you sir

  • @user-uv3gi7zk6i
    @user-uv3gi7zk6i Год назад +2

    if __name__ == '__main__': bro can you explain thin func ? it will help us to future use please replay ASAP

    • @BabuA-cr4pn
      @BabuA-cr4pn Месяц назад

      It is one of the condition statement....
      If condition:
      Statement
      "If name == main" is compare name is equal to the main...if it is crt then python execute if ... otherwise python execute else

  • @sanjanaraghunathan5146
    @sanjanaraghunathan5146 Год назад +2

    Bro c programming video podunga next uhhh

  • @123Boom-qz7zl
    @123Boom-qz7zl 4 месяца назад

    Mass Anna

  • @MRGamesStreamer
    @MRGamesStreamer 3 месяца назад

    Note: (For Subscribers)
    Bro your teaching super but 17:02 check you created object(Outside of the class) it is wrong please correct this mistake

  • @vinothgr6140
    @vinothgr6140 9 месяцев назад

    Good Explanation!!

  • @chrgamingyt5708
    @chrgamingyt5708 29 дней назад

    what will happen when the class name and function name are same

  • @user-yl8mi7wh7w
    @user-yl8mi7wh7w Месяц назад

    Thanks bro

  • @satheeshkumar6044
    @satheeshkumar6044 2 месяца назад

    Why you declare 2 variables what purpose?

  • @Goldencupid777
    @Goldencupid777 Год назад +2

    Bro class and function rendum kitta thatta oremari iruku rendukum enna different 🤔

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

      Function oda annan dhan classes nu vachkonga bro. Peria levela project pandrapa ungalala understand panika mudium difference. Poga poga puria varum.

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

      @@ErrorMakesClever 😯ok bro 👍TQ😊

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

      ​@@ErrorMakesCleverobject means what

  • @Yaa_its_Mahesh
    @Yaa_its_Mahesh 7 месяцев назад

    Bro mass ponga ❤

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

    Waiting for next video 😊

  • @DeepanPrasanth
    @DeepanPrasanth 7 месяцев назад

    Superb.

  • @user-qz7qf6lg9k
    @user-qz7qf6lg9k Год назад

    very easy to understand...tq

  • @srinithi9510
    @srinithi9510 7 месяцев назад

    Write program in python class and object register for food

  • @iamasharetrader8729
    @iamasharetrader8729 Год назад +3

    Ena bro lite uh Arjun Dass voice varuthu😅😅😅😅

  • @Raja-tt4ll
    @Raja-tt4ll 9 месяцев назад

    Nice Video

  • @vvisharaju
    @vvisharaju 8 месяцев назад

    Useful

  • @sivaranjanic4215
    @sivaranjanic4215 Год назад +1

    15:00 that kachamucha😂

  • @TalkWithAz
    @TalkWithAz 11 месяцев назад

    NICE😍

  • @user-wd7mg1sq6t
    @user-wd7mg1sq6t 2 месяца назад

    na use epic pen software to teach us instead snipping tool

  • @JK-de2gh
    @JK-de2gh 6 месяцев назад +1

    best

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

    Bro last ah ramesh .party () suresh.beach() call panirukega adhuku output ena bro varum

  • @user-rk7ej5vn2y
    @user-rk7ej5vn2y 6 месяцев назад

    Anna enaku ithu pota error varuthu.. What to do??

  • @belmontchandru9025
    @belmontchandru9025 6 месяцев назад

    thank you brother

  • @user-ev3ee1he2j
    @user-ev3ee1he2j Год назад

    Super bro

  • @DarkSeide-yt9ni
    @DarkSeide-yt9ni Месяц назад

    Antha self ethuku sollunga plss

  • @tendulharish4771
    @tendulharish4771 Год назад +1

    Bro how can i become data analytics and i am studying bsc maths

    • @sanjay590
      @sanjay590 Год назад +1

      Python, SQL, excel , probability, statistics idhuellam kathukonga bro

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

    Bro please apload about the Abstraction

  • @hariharank2959
    @hariharank2959 6 месяцев назад

    Bro please avoid background music...this music spoil ur video and that music makes irratate

  • @vasudevan8809
    @vasudevan8809 8 месяцев назад

    Bro ethuku self potinga nu sollave illa brow 😢

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

    😮epurraa....

  • @Ajeiay
    @Ajeiay 3 месяца назад

    Class goa:
    Name=""
    Drink=""
    def party(self):
    Print("lets larty...")
    def beach(self):
    Print("Enjoying the beach")
    Ramesh=goa()
    Suresh=goa()
    Print (ramesh.drink="yes")
    Lrint(suresh.drink="no")
    O/p:-
    Ramesh
    Yes
    Suresh
    No

  • @TharaniTharani-v1z
    @TharaniTharani-v1z Год назад

    background sounds are disturbing

  • @Yaa_its_Mahesh
    @Yaa_its_Mahesh 7 месяцев назад

    Bgm also mass

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

    what about the self that used in the open bracket...you cant explain the self..... what is it???? why we use it???? plz tell us

    • @sathishmurugesan1732
      @sathishmurugesan1732 Год назад +1

      its reference to the current object. By default all the functions in the class should have atleast one parameter and by convention we call this parameter as SELF. it can be named as anything whatever we want. By using it we can access the variables.

    • @sathishmurugesan1732
      @sathishmurugesan1732 Год назад +1

      by using self parameter as " self.x = 10 and self.y = 20 "
      we can access the variable

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

      @@sathishmurugesan1732 thank you

  • @user-oz3sm1wl7e
    @user-oz3sm1wl7e Год назад

    SQL video podunga bro

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

    Where can i connect to this guy ? Does he hv instagram ?

  • @santhoshkumar-xc2fw
    @santhoshkumar-xc2fw Год назад

    bro dont play background music its annoying

  • @shivaadelta
    @shivaadelta 26 дней назад

    please avoid bgm...irritating

  • @APHAbdulHakkim
    @APHAbdulHakkim 7 месяцев назад +1

    Background music makes me irritate

  • @lavanyad5872
    @lavanyad5872 7 месяцев назад

    Thank you sir

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

    Thanks bro

  • @letssmile1596
    @letssmile1596 2 месяца назад

    Thank you anna

  • @Yourcodingfriendsaruk
    @Yourcodingfriendsaruk 7 месяцев назад

    thanks bro