Object Oriented Programming in python

  Рет қаралды 48,499

Chai aur Code

Chai aur Code

5 ай бұрын

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 |...

Пікірлер: 613
@swarnabhamajumder9561
@swarnabhamajumder9561 5 ай бұрын
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
@f50achievers10
@f50achievers10 4 ай бұрын
First time understanding the Oops with perfect Example... #HitheshBhaiOp #chai_aur_code
@user-mc1rq4pw1o
@user-mc1rq4pw1o 5 ай бұрын
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 5 ай бұрын
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 4 ай бұрын
Bharat is already famous for rishi-muni gurus and hitesh sir wants best software engineers will also be from India in the whole world.
@anujpoudel
@anujpoudel 5 ай бұрын
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 Ай бұрын
fine observation.
@harshmeetsinghsaluja9773
@harshmeetsinghsaluja9773 27 күн бұрын
exactly dude....i was confused for 2 hrs and when i figured it out, i saw ur comment ;-;
@manasanmol6604
@manasanmol6604 Ай бұрын
Finally found such a detailed playlist, was looking back to remember the definitions when I stumbled over this
@devottamvaishnav65
@devottamvaishnav65 3 ай бұрын
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!
@Vishal_0841
@Vishal_0841 5 ай бұрын
Guru ji imandari se ab question solve kar raha hu mza aa raha hai ❤
@Waleedkkhan594
@Waleedkkhan594 3 ай бұрын
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
@muhammadhilal5807
@muhammadhilal5807 4 ай бұрын
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.
@akashkr8541
@akashkr8541 3 ай бұрын
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.
@ankuuur
@ankuuur 5 ай бұрын
Thank Your sir ji💖💖💖💖 badhiya se OOPs ke basics clear ho gaye😊😊😊😊
@lakshyaaggarwal1608
@lakshyaaggarwal1608 26 күн бұрын
Sir You have made things so easy and made me learn to write project code with industry standard while being in college, I have also seen your backend playlist and it has helped me a lot thx a lot
@mubeenashraf8676
@mubeenashraf8676 2 ай бұрын
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.
@spm_01
@spm_01 2 ай бұрын
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 :)))
@nikshadali50
@nikshadali50 5 ай бұрын
Sir, you teach in such a way which make any complex topic very easy
@deshichhora0121
@deshichhora0121 4 ай бұрын
sir , bahut hi easy way me samjha le gaye ho aap
@SobanToor
@SobanToor 13 күн бұрын
One of the best videos on Object-Oriented Programming in python I have ever witnessed.
@shaikusman536
@shaikusman536 2 ай бұрын
Awsome content Hitesh sir ji...........Thanks a ton ...keep up the great work....Respect from Bangalore.
@Ady-tf1jm
@Ady-tf1jm 17 күн бұрын
Thankyou Sir. Apne bhot easy way mai samja diya.
@letstry2854
@letstry2854 5 ай бұрын
Great content wth clear explanation sir jee😍😍
@abhaymalvi5458
@abhaymalvi5458 4 ай бұрын
Best OOPs video on KZfaq!! 🔥
@subhasreekar1297
@subhasreekar1297 2 ай бұрын
You have explained all the concepts very easily ... Good for the beginners like me😊
@prashantswaroop4801
@prashantswaroop4801 3 күн бұрын
Awesomely done. Hands the best teacher I have ever seen. cleared all the basics practically you are truly a gem sir for the Indian coding community. Thanks
@sky.digitalmedia2732
@sky.digitalmedia2732 3 ай бұрын
Sir, you teach in such a way which make any complex topic very easy 💯💯💯💯
@dinesh-hdnd
@dinesh-hdnd 3 ай бұрын
maza or samajh dono aa gaya video dekh ke thanks sir...
@vaishnavikulkarni663
@vaishnavikulkarni663 22 күн бұрын
Thank you sir. You made this topic so much easier to learn
@manavbhatt3169
@manavbhatt3169 Ай бұрын
I have completed the full video at once i loved the way hitesh sir teach , he teached all the concepts so smoothly and in very easy way , Big Thanks for this series sir 🙏✨️
@user-wj1ky8my1h
@user-wj1ky8my1h 3 ай бұрын
Excellent tutorial...Thanks a lot!! 😃
@chandranitr5003
@chandranitr5003 17 күн бұрын
Amazing! I understand very well. Thank you sir
@entertainmentkidzzclub6591
@entertainmentkidzzclub6591 15 күн бұрын
great video sir clear more concepts i always confused with static method but you clear it very simply
@anonyone8834
@anonyone8834 5 ай бұрын
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
@harshitchaudhary1014
@harshitchaudhary1014 Ай бұрын
explained in an easy to understand way!
@aparnapradhan0198
@aparnapradhan0198 5 ай бұрын
Good explanation , good example 🎉🎉🎉🎉❤❤❤❤
@pranaypaul6361
@pranaypaul6361 4 ай бұрын
A detailed OOP video....pure concept hammering session!!!
@gamerk88
@gamerk88 24 күн бұрын
I was stucked in OOp s in python for a day and then I find this vid and understand everything.Highly recommended for understanding oops in python.
@siddhant2943
@siddhant2943 15 күн бұрын
I already knew objected oriented programming concepts in C++ and Java, it is amazing to see how different languages always come with something new to offer, this pointer in C++, super() method in java, @property decorator in python.
@jesussheepakash9289
@jesussheepakash9289 4 ай бұрын
thank you sir , poora concept clear ho gya
@xedose7183
@xedose7183 3 ай бұрын
Great explanation along with examples on OOPS concepts.
@devilislive8134
@devilislive8134 3 ай бұрын
Bro you are really helping students a lot in such simple answers
@pranaypaul6361
@pranaypaul6361 4 ай бұрын
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 4 ай бұрын
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.
@M_Abdul1ah
@M_Abdul1ah Ай бұрын
Scrolling through the comments to find someone discussing this… and here you are, brother.♥️
@sumitsinha1506
@sumitsinha1506 2 ай бұрын
Great video. Thank you it was really helpful.
@starksanket3880
@starksanket3880 27 күн бұрын
Sir, your approach to coding is as simple and refreshing as making a cup of tea. Just like brewing the perfect chai, you blend simplicity with richness, making the learning process both delightful and flavorful. Keep serving those amazing tutorials, they're a treat to our minds!
@Shristi04
@Shristi04 9 күн бұрын
i love this playlist!!!!! thanks a lot sir
@MCoder-x
@MCoder-x Ай бұрын
I think this was the best explanation to OOP. Thank you sir🙌🏻
@Jatin_Jaunwal
@Jatin_Jaunwal 9 күн бұрын
One of the best videos on Python lecture and easily explains the difficult topics Thank you so much, sir 😇
@SIR_Studios786
@SIR_Studios786 5 ай бұрын
good explanation with examples, c++, c# etc language used preface like private, public, static etc, but in python underscores and decorators play such roles.
@khawaja_here
@khawaja_here 9 күн бұрын
First time am fully understand the concepts of OOP Thank you so much sir
@ishatiwari3023
@ishatiwari3023 2 ай бұрын
what an amazing way of explanation!
@rushikeshmodi4870
@rushikeshmodi4870 2 ай бұрын
Thank you sir. For such informative video
@subratkumarnayak2560
@subratkumarnayak2560 15 күн бұрын
really loved it, thank you sir
@VishalMudgal-it9qy
@VishalMudgal-it9qy 2 ай бұрын
mast samjhate ho sir , Ek baar m samjh aa ja rha h 😁😁
@raihanhassin7873
@raihanhassin7873 5 ай бұрын
Thank you sir for the amazing oops concept
@muhammadhassanalvi3422
@muhammadhassanalvi3422 3 ай бұрын
Great video to start OPP concepts
@krishnapalsingh2777
@krishnapalsingh2777 5 ай бұрын
Super 🧑‍🔧 "Thoda difficult lg rha hai" 2,3 bar dekhne pr samjh a jaiga😊
@vishalrathore7052
@vishalrathore7052 3 ай бұрын
love your teaching style
@Zeeshantariqpkn
@Zeeshantariqpkn Ай бұрын
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.
@harshchauhan561
@harshchauhan561 4 ай бұрын
Now i understood oops concepts. thank you sir
@Waleedkkhan594
@Waleedkkhan594 5 ай бұрын
Thank you for the valuable content 🙏🙏🙏
@rinitroy4551
@rinitroy4551 28 күн бұрын
nice way to demostrate concept using questions
@stayqurious
@stayqurious 5 ай бұрын
loved your videos sir
@asifquasmi4538
@asifquasmi4538 3 ай бұрын
Nice explanation sirji
@akshitgoel6492
@akshitgoel6492 2 ай бұрын
Really nice content sir !!!
@ayushmishra5861
@ayushmishra5861 5 ай бұрын
great video, loved it.
@themonkspeaks299
@themonkspeaks299 Ай бұрын
got amazing understanding
@letsstartwithrahul8841
@letsstartwithrahul8841 3 ай бұрын
video dhekne me mazzza aa jata hai
@mohammadahmad19
@mohammadahmad19 4 ай бұрын
The Starting is very well Sir
@the.ideal.indian
@the.ideal.indian Ай бұрын
Thank you for your dedication to sharing your knowledge and for creating such high-quality content. Your efforts are truly appreciated and have made a significant impact on my learning journey.
@utkarshsingh1128
@utkarshsingh1128 Ай бұрын
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
@anandshinde0358
@anandshinde0358 3 ай бұрын
Thank you so much sir ❤❤❤❤
@kashishrocks
@kashishrocks 5 ай бұрын
Thanks a lot sir.
@dysproghoul
@dysproghoul Ай бұрын
this is was perfect rather than those basic generic oops videos this covered most of the things
@TheHiro.
@TheHiro. Күн бұрын
Bada acha samjh aaya sirji 👍
@tarunsikarwar
@tarunsikarwar 5 ай бұрын
amazing teaching skill Hitesh ji. please make a series of Fastapi in hindi
@ashutoshshrivastava9663
@ashutoshshrivastava9663 3 ай бұрын
Good work. Commented to meet your goal It's good that you talked about this topic. Disappointed with 'self' explanation.
@thenameis8013
@thenameis8013 Ай бұрын
great video!!
@sudhanshushekhar1116
@sudhanshushekhar1116 2 ай бұрын
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?
@AmritKumar-sk8jo
@AmritKumar-sk8jo 10 күн бұрын
nice explanation!!
@mitvavirvadiya8993
@mitvavirvadiya8993 21 күн бұрын
great explanation sir
@samiran__roy
@samiran__roy 5 ай бұрын
this series needs more recognition
@shahbajalam2076
@shahbajalam2076 Ай бұрын
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.
@nazishali9746
@nazishali9746 Ай бұрын
Well taught sir
@khulvemeenakshi
@khulvemeenakshi Ай бұрын
Amazing series 👏
@mdnozibuddowla4085
@mdnozibuddowla4085 9 күн бұрын
agar mein is video full dekhne ki baad oop sikh jate hein to meri jitni bhi gmail account hein o sab se aap ki account ko subscribes karenge. because I am learning coding from 2016 se. abhi bhi oop mein bohot sari problems ate rehte hein. video dekhna start kari rahi hu.hope for the best
@Iamasifshahzad
@Iamasifshahzad 4 ай бұрын
Greatest series of ever made on youtube for python
@kaustubhkadam1083
@kaustubhkadam1083 2 күн бұрын
thnx for this playlist
@shivmusic9029
@shivmusic9029 3 ай бұрын
sir bahut accha padhaya
@yusufpathan4284
@yusufpathan4284 24 күн бұрын
Very good explanation ❤
@mdnozibuddowla4085
@mdnozibuddowla4085 9 күн бұрын
Thanks a lot bhaiya for the video.
@user-fc7mm2hx5z
@user-fc7mm2hx5z 10 күн бұрын
BRO LITERALLY THANK YOU FROM THE CORE OF MY HEEART
@proPakistani54
@proPakistani54 5 ай бұрын
Krdya ❤❤❤
@kaustubhgaikwad2562
@kaustubhgaikwad2562 25 күн бұрын
4 months but still no 800 comments 😭 He is god level teacher .. help his channel grow
@farooqaziz3738
@farooqaziz3738 4 күн бұрын
Sir mai python oops ki wajah se interview crack nhi saka Lekin aapke video dekhne ke baad mujhe oops ke all concept clear ho Gaye Thanks for sharing this useful knowledge
@Barunghorai-pn4vy
@Barunghorai-pn4vy 3 ай бұрын
❤gujiya ...love it 💕
@rakeshpatra1955
@rakeshpatra1955 Ай бұрын
Great Explanations
@snehadas4563
@snehadas4563 11 күн бұрын
U nailed it sir🙏❤
@sachindk4834
@sachindk4834 5 ай бұрын
great explanation..
@namansharma4856
@namansharma4856 2 ай бұрын
Fantasticcc workkkk
@riteshkapoor4589
@riteshkapoor4589 5 ай бұрын
loved it... tysm
@user-fl5xj3pp1y
@user-fl5xj3pp1y 4 ай бұрын
very informative and you expalined it in such nice way ... love from Afghanistan...❤
What are decorators in python
39:21
Chai aur Code
Рет қаралды 15 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 60 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
9 HOURS of Python Projects - From Beginner to Advanced
9:20:00
Tech With Tim
Рет қаралды 786 М.
Python Object Oriented Programming in 10 minutes 🐍
10:04
Bro Code
Рет қаралды 361 М.
DSA & ₹1.2 Crore Per Annum Jobs - The Truth? (No Offence)
12:22
CodeWithHarry
Рет қаралды 562 М.
Handling API in python
27:24
Chai aur Code
Рет қаралды 17 М.
OOP in Python | Object Oriented Programming
1:45:19
Telusko
Рет қаралды 1,7 МЛН
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,3 МЛН
4 Years of Coding in 4 Minutes - A Short Movie
3:49
Apna College
Рет қаралды 9 МЛН
Why I Chose Rust Over Zig
33:18
ThePrimeTime
Рет қаралды 15 М.
Как котики ложатся спать, до конца!
0:31
🌀 Вирусные видео
Рет қаралды 1,8 МЛН
КОМПОТ В СОЛО
0:16
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 11 МЛН