Skip to main content

OOP: Inheritance

Subclasses, Method Overriding, and super()

· 3 min read

In the previous unit, we explored methods and the difference between class and instance variables. Now let's look at inheritance, which lets a class inherit attributes and methods from another class.

OOP: Inheritance

OOP: Methods and Variables

Constructor, Instance Methods, and Class vs Instance Variables

· 3 min read

In the previous unit, we introduced classes and objects. Now let's dig deeper into methods, functions that live inside classes, and understand the difference between class variables and instance variables.

OOP: Methods and Variables

File Operations

Reading and Writing Data in Python

· 3 min read

In the previous unit, we learned about dictionaries. Now let's explore file operations: how to read data from files and write data to files so your programs can persist information.

File Operations