Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Section 04: Object-Oriented Programming

Object-Oriented Programming (OOP) is a way of organizing your code around "objects" — bundles of data and the functions that operate on that data. Python is an object-oriented language at its core, and understanding OOP unlocks a whole new level of code organization.

Lessons

# Lesson Description
01 Classes and Objects Creating your own types with classes
02 Inheritance Building on existing classes
03 Magic Methods Customizing how your objects behave
04 Dataclasses The modern, lightweight way to define data containers

What You'll Be Able to Do After This Section

  • Design and implement your own classes
  • Use inheritance to share behavior between classes
  • Make your objects work with Python's built-in operators
  • Use dataclasses to reduce boilerplate

Prerequisites