Python Object Oriented Programming (OOP) - Full Course for Beginners

preview_player
Показать описание
In this comprehensive and beginner-friendly course, you will learn all of the tools that you need to become a great OOP programmer, writing clean and maintainable software.

What you will learn:
The fundamentals of OOP: creating classes and objects, attributes and methods, getters and setters, properties, static attributes and methods, access modifiers.
OOP Principles such as inheritance, encapsulation, abstraction, polymorphism.

A Python Beginner-to-Advanced OOP course is also available, in video and book form:

⭐️ Contents ⭐️
(0:00:00) Intro
(0:04:16) Creating classes and objects
(0:15:15) Combining objects
(0:21:43) Recap: classes, objects, attributes, methods and self
(0:26:46) Example: a Person class
(0:34:42) Accessing and modifying object data
(0:41:13) Access modifiers: protected attributes
(0:45:39) When should you make an attribute protected?
(0:48:37) Python's "Consenting Adults" philosophy and private attributes
(0:51:17) When to use protected vs private attributes
(0:53:27) Creating getter and setter methods
(0:57:22) Why do we create getters and setters?
(1:03:37) Properties: creating a getter property. Properties vs getters and setters
(1:10:39) Properties: creating a setter property
(1:15:39) Static attributes
(1:23:19) Static attributes vs instance attributes
(1:25:13) Static methods
(1:33:20) Static methods: when to use them?
(1:34:46) Protected and private methods
(1:39:55) Encapsulation
(1:51:53) Encapsulation: why is it important?
(1:55:10) Abstraction
(2:05:08) Inheritance
(2:15:49) Polymorphism: intro and naive solution
(2:25:06) Polymorphism: refactored solution
(2:35:35) Conclusion

🎉 Thanks to our Champion and Sponsor supporters:
👾 Drake Milly
👾 Ulises Moralez
👾 Goddard Tan
👾 David MG
👾 Matthew Springman
👾 Claudio
👾 Oscar R.
👾 jedi-or-sith
👾 Nattira Maneerat
👾 Justin Hual

--

Рекомендации по теме
Комментарии
Автор

I hope you find this course useful! Many Python courses barely scratch the surface of OOP or skip the crucial principles and patterns that make it such a powerful approach to software design. This often leads to messy, hard-to-maintain code—especially in larger applications, such as backends built with Django.

My goal with this example-based course is to give you the tools, principles, and terminology to write maintainable, extensible, and testable OOP software—saving you time and headaches in the long run!


Thanks, and happy coding! 😊

doabledanny
Автор

You are literally the first person to simplify this so comprehensively. Thank you! 🙏🏾

Duh_Daily
Автор

I wish I can like this video a thousand times. You broke down OOP concepts in a way that anyone can easily understand. I went to your You tube page to look for more videos on Python but didn't see none. I hope you create more python videos.

igwemichael
Автор

Finally, someone who can explain things as they are. Thanks.

_manasikara
Автор

thank you for the course! I just finished the "creating classes and objects" section and just a heads up for anyone just starting their journey with learning python on VS Code: the author mentioned that he uses the Black Formatter, Pylance, Python Debugger, and Python vs code extensions but if you don't have the extension already, take care to also add the Pylint extension as well! This is so you can be notified with red squiggly lines in your code if there's a problem which can be seen the the "PROBLEM" tab of VS Code.

matari_ganan
Автор

just finished this course. it was gold. You have explained the concepts very well. I used to fear encapsulation and polymorphism, couldn't really understand what they were until now. Thanks !!

shantanulokhande
Автор

This is a pretty good video, i had some trouble understanding how classes actually worked with functions and everything. Its crystal clear to me now. Im really bad at programming so far but inundersttod this with no issues 😅

zamoth
Автор

50:31, When you create a private variable (starting with double underscores), it gets mangled by Python and becomes _ClassName__privateVariable. While this is intended for privacy, you can still access it outside the class if you know the mangled name. Here's an example:
pythonCopyclass A:
def __init__(self):
self.__privateVar = 0 # Gets mangled to _A__privateVar

# Create instance
ins = A()

# Access and modify the private variable using mangled name
print(ins._A__privateVar) # Prints: 0
ins._A__privateVar = 1
print(ins._A__privateVar) # Prints: 1

oussamaasri
Автор

Top notch Quality for gripping core concepts

Khamzat_
Автор

This was the best and most up to date online coding class that I have ever taken. Thank you for the great instruction!

rajusticehiphop
Автор

One of the best channels to ever exist on YouTube
Probably these guys dont have an idea about how many life they change
❤❤

hareeshvar.m
Автор

Just completed this course. It really helped me understand Python OOP quickly. Thanks!

eleTechnologies
Автор

welll detailed to understand all the concenpts in oop. out of 10 i give you 10.Thank you

mwesigepatrick
Автор

thank u thank u thank u very much beautifully explained 🌹🌹🌹

DopamineFrenzy
Автор

Great video on OOP concepts! Clear and easy to follow for learners.

_siddheshparave
Автор

شكرا جزيلا على الكورس الرائع تعلمت الكثير في هذا الكورس اتمنى كل التوفيق ايضا لكل من شاهد الكورس

Nawellora
Автор

This course is most helpful for my study .. A true love for sir from my heart❤❤❤

RudranarayanRoutray-id
Автор

Great content. I was able to understand the OOP concepts. ❤❤

TGithinji
Автор

I wanted to learn OOP for a long time!

tanwilliam
Автор

I love this! I didn't know properly about protected and privates attributes/methods and the part of the polymorphism was really good as well.
I have one question: The setter methods in the Python's way can be called anyway as long as it follows the structure of @name.setter?

brianarmasquintana
welcome to shbcf.ru