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

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=iLRZi0Gu8Go



Duration: 0:00
107,657 views
2,933


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.

💻 Github repo: github.com/DoableDanny/oop-in-python-course

✏ ️ Course created by Dan Adams. Check out his channel:    / @doabledanny  

A Python Beginner-to-Advanced OOP course is also available, in video and book form:
🔗 Full Udemy course: udemy.com/course/python-oop-object-oriented-programming-from-beginner-to-pro/
🔗 eBook PDF: doabledanny.gumroad.com/l/python-oop-beginner-to-pro
🔗 Amazon Kindle eBook & physical book: amazon.com/dp/B0DR6ZPZQ8

❤ ️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learnihttps://scrimba.com/freecodecampcamp

⭐ ️ 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

--

Learn to code for free and get a develophttps://www.freecodecamp.org/camp.org

Read hundreds of articles on progrhttps://freecodecamp.org/newsorg/news




Other Videos By freeCodeCamp.org


2025-02-18How to Build an ASP.NET Core MVC Web App – Tutorial
2025-02-14From Poker Dealer to Self-Taught Developer [Podcast #160]
2025-02-12A-Level Computer Science – Programming Concepts for Beginners Course in Visual Basic VB.NET
2025-02-11Build a Memory Game in React Tutorial
2025-02-07From freeCodeCamp to CTO with Robotics Engineer Peggy Wang [Podcast #159]
2025-02-06AI Engineer Roadmap – How to Learn AI in 2025
2025-02-05Strapi 5 and Next.js 15 Full Stack Project Course
2025-02-04Vyper and Python Smart Contracts on Blockchain – Full Course for Beginners
2025-01-31From Gas Station to Google with Self-Taught Cloud Engineer Rishab Kumar [Podcast #158]
2025-01-30API Security Fundamentals – Course for Beginners
2025-01-29Python Object Oriented Programming (OOP) - Full Course for Beginners
2025-01-28DeepSeek-R1 Crash Course
2025-01-27LLM Course – Build a Semantic Book Recommender (Python, OpenAI, LangChain, Gradio)
2025-01-24Getting a developer job in 2025 with Lane Wagner [Podcast #157]
2025-01-22freeCodeCamp Handmade T-Shirts
2025-01-21How to Create a Website – WordPress Tutorial for Beginners 2025
2025-01-20Neetcode 150 Course - All Coding Interview Questions Solved
2025-01-17AI Reality VS Speculation with Google Machine Learning Engineer Jiquan Ngiam [Podcast #156]
2025-01-15Understanding Deep Learning Research Tutorial - Theory, Code and Math
2025-01-14Lisp Programming Language – Full Course for Beginners
2025-01-10CUDA and GPU Programming with Elliot Arledge [Podcast #155]