Object Oriented Programming in python

  Рет қаралды 34,490

Chai aur Code

Chai aur Code

3 ай бұрын

Visit chaicode.com for all related materials, community help, source code etc.
Welcome to chai aur code, a coding/programming dedicated channel in Hindi language. Now you can learn best of programming concepts with industry standard practical guide in Hindi language.
All source code is available at my Github account:
github.com/hiteshchoudhary
Our Open-Source Project is here: freeapi.app
Join me at whatsapp: hitesh.ai/whatsapp
for community discord: hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial
HTML video series: • HTML and VSCode - gett...
Complete javascript series: • Javascript for beginne...
Complete Reactjs series: • React JS roadmap | cha...
Javascript and react interview series: • 1 call se shuru hui pl...
Backend development with Javascript: • Javascript Backend Roa...
Python Series: • Python series launch |...

Пікірлер: 483
@swarnabhamajumder9561
@swarnabhamajumder9561 3 ай бұрын
Learning Python Day 12 - present sir 00:03 Object Oriented Programming is like making Gujiya 01:58 Understanding object-oriented programming through generalized forms and classes. 05:45 Follow naming conventions and indentation in Python classes. 07:41 Understanding object creation and attributes in Python 11:41 Understanding object-oriented programming in Python. 13:36 Understanding the usage of variables and parameters inside a class in Python 17:44 Method to display full name of car brand and model 19:49 Object-oriented programming concepts in Python 24:06 Creating object and setting up wireless connection 25:55 Using inheritance and 'super' keyword to access parent class methods and attributes in Python 29:34 Encapsulation is about controlling access to class attributes 31:32 Creating methods for accessing and setting attributes in Python 35:31 Encapsulation and its importance 37:36 Polymorphism allows different behaviors for objects of the same class. 41:16 Class variables keep track of shared data, like counting instances. 43:32 Object creation and access in OOP Python 47:44 Static method in Java is a method belonging to the class, not owned by an instance. 49:52 Linking and Wiring in Object Oriented Programming 53:32 Decorators in Python allow you to modify functions. 55:19 Understanding data encapsulation and access control in object-oriented programming 58:51 Understanding the usage of decorators in Python 1:00:42 Understanding property decorators in Python. 1:04:49 Inheritance in electric car programming 1:06:54 Python supports classes, inheritance, and methods
@anujpoudel
@anujpoudel 3 ай бұрын
58:15 when you did 'my_car.model = "City" ' in line 41 in that instance new property/attribute 'model' was created so now there are two attributes one '__model' and another 'model' for object 'my_car'. This happens because we can create new property for any object on the go and is not necessary to be in the class.
@soumalyadas1123
@soumalyadas1123 11 күн бұрын
fine observation.
@manasanmol6604
@manasanmol6604 11 күн бұрын
Finally found such a detailed playlist, was looking back to remember the definitions when I stumbled over this
@user-mc1rq4pw1o
@user-mc1rq4pw1o 3 ай бұрын
Finally undestoood classes in python so easily, now i finally get what that self, and constructor and how to use them, earlier it was so confusing. Thank you!
@Thecircuit001
@Thecircuit001 3 ай бұрын
I don’t know why this man is sharing this type of content free in youtube…. 😊…. Sooo much love…. So much valuable information ❤
@sidhantarya2483
@sidhantarya2483 3 ай бұрын
Bharat is already famous for rishi-muni gurus and hitesh sir wants best software engineers will also be from India in the whole world.
@Vishal_0841
@Vishal_0841 3 ай бұрын
Guru ji imandari se ab question solve kar raha hu mza aa raha hai ❤
@danielhaidari1638
@danielhaidari1638 3 ай бұрын
been following your videos since 2018 and LCO courses since I was in high school now in my second year uni in Aus. appreciate your work
@hetashrikansariwala9527
@hetashrikansariwala9527 3 ай бұрын
I am trying to learn oops in python since many days but unable because of you now I am confident in oops. Thank you sir
@muhammadhilal5807
@muhammadhilal5807 3 ай бұрын
i thought that this would be that boring video by learning the OOP with fancy names, but loved it how you explain it by just solving problems and learning along with it.
@devottamvaishnav65
@devottamvaishnav65 2 ай бұрын
OOPs was so confusing for me earlier! Finally undestoood classes in python so easily, now i finally get what that self, and constructor and how to use them. Thank you so much sir!
@krishnamania1
@krishnamania1 3 ай бұрын
Thank you sir , this is the first time I completely understand OOPS
@anonyone8834
@anonyone8834 3 ай бұрын
Pass is special keyword used as a placeholder for a code. In python when we make a class and we want to specify the use case later we just use pass to avoid error and code still being empty
@Waleedkkhan594
@Waleedkkhan594 2 ай бұрын
This single video is more valuable then some KZfaqr's entire channels. Incredible work sir. I learnt so many things. Oops inheritance, polymorphism, constructor, decorator thank you so much sir
@ankuuur
@ankuuur 3 ай бұрын
Thank Your sir ji💖💖💖💖 badhiya se OOPs ke basics clear ho gaye😊😊😊😊
@akashkr8541
@akashkr8541 Ай бұрын
oop se jaldi main bachpan me cycle sikh lia tha. now i am here. thanks for this video. i am going to watch it fully.
@abhaymalvi5458
@abhaymalvi5458 2 ай бұрын
Best OOPs video on KZfaq!! 🔥
@deshichhora0121
@deshichhora0121 2 ай бұрын
sir , bahut hi easy way me samjha le gaye ho aap
@user-pz2oq2qx4u
@user-pz2oq2qx4u 3 ай бұрын
this is the best video i ever seen to learn oop concepts in python
@nikshadali50
@nikshadali50 3 ай бұрын
Sir, you teach in such a way which make any complex topic very easy
@pranaypaul6361
@pranaypaul6361 3 ай бұрын
In Python, static methods are indeed meant to be accessed by the class itself rather than by instances of the class. However, there is a subtle difference in how static methods are defined and accessed in Python compared to other programming languages like Java or C++. In Python, static methods are declared using the `@staticmethod` decorator, which specifies that the method should be treated as a static method. However, static methods in Python are not truly bound to the class itself. Instead, they are bound to the class's namespace, which is the same namespace that contains the class's other attributes and methods. This means that while static methods can be accessed using the class name, they can also be accessed using an instance of the class, as shown in the example you provided. When you call a static method using an instance of the class, the instance itself is not used in any way. The method is simply called using the class's namespace. This behavior is different from static methods in other programming languages, where static methods are truly bound to the class and cannot be accessed using an instance of the class. In Python, the ability to access static methods using both the class name and an instance of the class provides greater flexibility and allows for more concise code in certain situations. It's important to note that while static methods can be accessed using both the class name and an instance of the class, they should generally be accessed using the class name for consistency and clarity. class MyClass: @staticmethod def my_static_method(): print("Hello from static method!") # Calling using the class name MyClass.my_static_method() # Output: Hello from static method! # Calling using an object obj = MyClass() obj.my_static_method() # Output: Hello from static method!
@priyeshsingh7586
@priyeshsingh7586 3 ай бұрын
Just thinking what will be a production scenario where static method can be used by both Class and instance of the class as described above.
@mubeenashraf8676
@mubeenashraf8676 Ай бұрын
The pass statement is used as a placeholder for future code. When the pass statement is executed, nothing happens, but you avoid getting an error when empty code is not allowed. Empty code is not allowed in loops, function definitions, class definitions, or in if statements.
@MudasirAbbas007
@MudasirAbbas007 3 ай бұрын
Sir never seen such a superb video on Python object oriented programming 😊😊
@Dineshkumar-wn8ey
@Dineshkumar-wn8ey 2 ай бұрын
maza or samajh dono aa gaya video dekh ke thanks sir...
@samiran__roy
@samiran__roy 3 ай бұрын
this series needs more recognition
@proPakistani54
@proPakistani54 3 ай бұрын
Krdya ❤❤❤
@Mortec593
@Mortec593 3 ай бұрын
Who will stay for the end of the series
@afrandavalbhai5693
@afrandavalbhai5693 3 ай бұрын
Me 🙋‍♂️
@rajeshwaripatil6912
@rajeshwaripatil6912 3 ай бұрын
Me
@Barunghorai-pn4vy
@Barunghorai-pn4vy Ай бұрын
Me also...
@shubhamchandel6259
@shubhamchandel6259 14 күн бұрын
I
@shaikusman536
@shaikusman536 21 күн бұрын
Awsome content Hitesh sir ji...........Thanks a ton ...keep up the great work....Respect from Bangalore.
@sagar-tt4ub
@sagar-tt4ub 3 ай бұрын
Congratulations on 200K hitesh sir
@Ashish_00900
@Ashish_00900 3 ай бұрын
Thank You Hitesh Bhaiya !!!
@letstry2854
@letstry2854 3 ай бұрын
Great content wth clear explanation sir jee😍😍
@user-cp9kt3qq2d
@user-cp9kt3qq2d 3 ай бұрын
Thank you so much sir for oops concept explanation in a very easy manner 🙏
@vardanshprasad5801
@vardanshprasad5801 3 ай бұрын
Sir apka English Bahut accha hai free codecamp pe dekha hai
@sky.digitalmedia2732
@sky.digitalmedia2732 Ай бұрын
Sir, you teach in such a way which make any complex topic very easy 💯💯💯💯
@Abhay_Pandey_1
@Abhay_Pandey_1 3 ай бұрын
Best python series on yt in hindi.
@pranaypaul6361
@pranaypaul6361 3 ай бұрын
A detailed OOP video....pure concept hammering session!!!
@spm_01
@spm_01 24 күн бұрын
very nice video with full of learning I am in 4th year now I learnt how to play with oops with python - thank you so much sir :)))
@devilislive8134
@devilislive8134 2 ай бұрын
Bro you are really helping students a lot in such simple answers
@justtt.prerna
@justtt.prerna 3 ай бұрын
Thank you for providing such a valuable content...All my doubts are cleared..
@jesussheepakash9289
@jesussheepakash9289 3 ай бұрын
thank you sir , poora concept clear ho gya
@user-wj1ky8my1h
@user-wj1ky8my1h Ай бұрын
Excellent tutorial...Thanks a lot!! 😃
@subhasreekar1297
@subhasreekar1297 21 күн бұрын
You have explained all the concepts very easily ... Good for the beginners like me😊
@ayushmishra5861
@ayushmishra5861 3 ай бұрын
great video, loved it.
@tarunsikarwar
@tarunsikarwar 3 ай бұрын
amazing teaching skill Hitesh ji. please make a series of Fastapi in hindi
@Iamasifshahzad
@Iamasifshahzad 3 ай бұрын
Greatest series of ever made on youtube for python
@aparnapradhan0198
@aparnapradhan0198 3 ай бұрын
Good explanation , good example 🎉🎉🎉🎉❤❤❤❤
@Shantanu_lrnr
@Shantanu_lrnr 3 ай бұрын
Thank you sir for this python series...really helpful
@asifquasmi4538
@asifquasmi4538 2 ай бұрын
Nice explanation sirji
@raihanhassin7873
@raihanhassin7873 3 ай бұрын
Thank you sir for the amazing oops concept
@mohammadahmad19
@mohammadahmad19 3 ай бұрын
The Starting is very well Sir
@thenameis8013
@thenameis8013 13 күн бұрын
great video!!
@krishnapalsingh2777
@krishnapalsingh2777 3 ай бұрын
Super 🧑‍🔧 "Thoda difficult lg rha hai" 2,3 bar dekhne pr samjh a jaiga😊
@riteshkapoor4589
@riteshkapoor4589 3 ай бұрын
loved it... tysm
@WariesKhan007
@WariesKhan007 2 ай бұрын
Awosame ❤❤❤
@VishalMudgal-it9qy
@VishalMudgal-it9qy Ай бұрын
mast samjhate ho sir , Ek baar m samjh aa ja rha h 😁😁
@stayqurious
@stayqurious 3 ай бұрын
loved your videos sir
@muhammadhassanalvi3422
@muhammadhassanalvi3422 2 ай бұрын
Great video to start OPP concepts
@atharvatirkhunde4517
@atharvatirkhunde4517 3 ай бұрын
Great content and explanation sir.
@vishalrathore7052
@vishalrathore7052 Ай бұрын
love your teaching style
@xedose7183
@xedose7183 2 ай бұрын
Great explanation along with examples on OOPS concepts.
@iyiwarrior5457
@iyiwarrior5457 3 ай бұрын
Awesome work sir
@Waleedkkhan594
@Waleedkkhan594 3 ай бұрын
Thank you for the valuable content 🙏🙏🙏
@namansharma4856
@namansharma4856 Ай бұрын
Fantasticcc workkkk
@Barunghorai-pn4vy
@Barunghorai-pn4vy Ай бұрын
❤gujiya ...love it 💕
@letsstartwithrahul8841
@letsstartwithrahul8841 2 ай бұрын
video dhekne me mazzza aa jata hai
@harshchauhan561
@harshchauhan561 2 ай бұрын
Now i understood oops concepts. thank you sir
@harshitchaudhary1014
@harshitchaudhary1014 7 күн бұрын
explained in an easy to understand way!
@Zeeshantariqpkn
@Zeeshantariqpkn 18 күн бұрын
Method of teaching so perfect with real time examples, can in django series create a video on creating user wiith rights no one created on it yet.
@ishatiwari3023
@ishatiwari3023 Ай бұрын
what an amazing way of explanation!
@MCoder-x
@MCoder-x 9 күн бұрын
I think this was the best explanation to OOP. Thank you sir🙌🏻
@Entertainment-xu1qc
@Entertainment-xu1qc 3 ай бұрын
best tutorial I'm learning python.
@sumitsinha1506
@sumitsinha1506 29 күн бұрын
Great video. Thank you it was really helpful.
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Shuruwat majburi me kari thi Python, ab maja aara hain ❤
@akshitgoel6492
@akshitgoel6492 23 күн бұрын
Really nice content sir !!!
@SIR_Studios786
@SIR_Studios786 3 ай бұрын
good explanation with examples, c++, c# etc language used preface like private, public, static etc, but in python underscores and decorators play such roles.
@sachindk4834
@sachindk4834 3 ай бұрын
great explanation..
@sudhanshushekhar1116
@sudhanshushekhar1116 Ай бұрын
I am trying to understand this concept since many months. Now it's clear. Thanks! could you please teach some project on basis of oops?
@rushisable9561
@rushisable9561 3 ай бұрын
Awesome❤❤
@MCA_HimanshuSeth
@MCA_HimanshuSeth Ай бұрын
Gujiya wala example is superb for understanding classes & objects
@MDFAIZANSARI
@MDFAIZANSARI 3 ай бұрын
Delivery of topics are very creative.
@kashishrocks
@kashishrocks 3 ай бұрын
Thanks a lot sir.
@shubhamgurjar912
@shubhamgurjar912 3 ай бұрын
what a video litterly love you bhaiya🥰🥰
@arpanswain2876
@arpanswain2876 3 ай бұрын
amazing explanation sir
@enghimanshu
@enghimanshu 15 күн бұрын
nice done!!
@asifmehmood512
@asifmehmood512 3 ай бұрын
Bawa g zbrdst
@MuhammadArslan-td9je
@MuhammadArslan-td9je 3 ай бұрын
no words for hitesh sir videos🥰🥰🥰🥰🥰🥰
@lalitvijayjadhav
@lalitvijayjadhav 2 ай бұрын
Good One!
@shahbajalam2076
@shahbajalam2076 4 күн бұрын
Whoever is watching this video, just remember, the static method part is wrong. The class instance can 100% access the static method. Both class and instance can access the static methods. Static method means it does not get created for each instance, rather it gets created for only once.
@vibs003
@vibs003 3 ай бұрын
excellent content👌
@more_us24
@more_us24 2 ай бұрын
HEY RAM Bhgwan... What An Explanation!!!👏 Maza hi aa gaya lecture ka 😂❤️
@arpanswain2876
@arpanswain2876 3 ай бұрын
keep up the level sir
@Rahulsingh-mq2ny
@Rahulsingh-mq2ny Ай бұрын
great video :)
@anonyone8834
@anonyone8834 3 ай бұрын
Best oop and only needed video
@khulvemeenakshi
@khulvemeenakshi 12 күн бұрын
Amazing series 👏
@shivmusic9029
@shivmusic9029 2 ай бұрын
sir bahut accha padhaya
@rushikeshmodi4870
@rushikeshmodi4870 Ай бұрын
Thank you sir. For such informative video
@utkarshsingh1128
@utkarshsingh1128 3 күн бұрын
28:37 / 1:08:28 Encapsulation __brand ->private (only class members can use not outsider object) {hence data is encapsulated } 36:45 / 1:08:28 Class Variable
@ZakirHussain-nd4fw
@ZakirHussain-nd4fw 2 ай бұрын
once our teacher was explaining OOP some 7 years back , with Apple as an example, so we understood the definitions, but created confusion by giving example of colour , shape of car, apple etc..
@ruthwickmasidkar1655
@ruthwickmasidkar1655 3 ай бұрын
was waiting for this topic..though reached late as i was busy somewhere
@rakeshojha5246
@rakeshojha5246 3 ай бұрын
Class was awesome
@riteshthakur759
@riteshthakur759 Ай бұрын
Nice series 🎉
What are decorators in python
39:21
Chai aur Code
Рет қаралды 10 М.
Python Object Oriented Programming in 10 minutes 🐍
10:04
Bro Code
Рет қаралды 340 М.
Can you beat this impossible game?
00:13
LOL
Рет қаралды 52 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 12 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 6 МЛН
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 63 МЛН
Handling API in python
27:24
Chai aur Code
Рет қаралды 11 М.
OOP in Python | Object Oriented Programming
1:45:19
Telusko
Рет қаралды 1,7 МЛН
Why our ecosystem is NOT producing better software engineers ?
13:54
How to use postman for backend
36:13
Chai aur Code
Рет қаралды 48 М.
Why are you not creating anything in c++ ?
14:46
Chai aur Code
Рет қаралды 35 М.
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,3 МЛН
How does javascript execute code + call stack | chai aur #javascript
26:12
ДЖОХАН 2 | толық фильм
1:25:26
Жахан Утаргалиев
Рет қаралды 828 М.
When the floor is ACTUALLY lava 😱🔥 @BrandonA7
0:26
Nick Pro
Рет қаралды 36 МЛН
When someone reclines their seat ✈️
0:21
Adam W
Рет қаралды 17 МЛН
НЕОБЫЧНАЯ ИСТОРИЯ ЗНАКОМСТВА
0:59
boscolingus
Рет қаралды 1,3 МЛН
Прояви гостеприимство🤣#фильм #сериал #кино
1:00
When someone reclines their seat ✈️
0:21
Adam W
Рет қаралды 17 МЛН