Discount week
Get up to 50 % extra points for free! More info

Object-Oriented Programming in Python

Learn the object-oriented programming in Python in this online course from the first object-oriented app to advanced structures.

Introduction to object-oriented programming in Python

Lesson 1

Introduction to object-oriented programming in Python

The Python tutorial introduces to the object-oriented programming, explains its historical origins as well as terms as classes, attributes, and methods.
Written by David Capka
FreeUnrated Show description
First object-oriented app in Python - Hello object world

Lesson 2

First object-oriented app in Python - Hello object world

In this tutorial we'll create our first object-oriented app in Python - Hello object world. We'll create classes, attributes, and parametrized methods.
Written by David Capka
FreeUnrated Show description
RollingDie in Python - Constructors and random numbers

Lesson 3

RollingDie in Python - Constructors and random numbers

In this tutorial, we'll learn how to use constructors and random number generators. We'll program a rolling die in Python, as the first part of our arena.
Written by David Capka
FreeUnrated Show description
Object References, Cloning, and Garbage Collector in Python

Lesson 4

Object References, Cloning, and Garbage Collector in Python

In this tutorial, we'll explain in more detail how Python works with objects in memory. We'll learn to copy objects and explain the Garbage Collector.
Written by David Capka
FreeUnrated Show description
Warrior for the arena in Python

Lesson 5

Warrior for the arena in Python

In this Python tutorial, we'll create a warrior object (class). Its instances will battle in the arena next time.
Written by David Capka
FreeUnrated Show description
Arena with warriors in Python

Lesson 6

Arena with warriors in Python

In this tutorial, we'll finish our arena with warriors. As a result, we'll have an object-oriented Python application simulating a board game.
Written by David Capka
FreeUnrated Show description
Inheritance and polymorphism in Python

Lesson 7

Inheritance and polymorphism in Python

In this tutorial, we'll go over object inheritance and polymorphism. We'll learn how to reuse code and explain what the protected access modifier is.
Written by David Capka
FreeUnrated Show description
Arena with a mage in Python (inheritance and polymorphism)

Lesson 8

Arena with a mage in Python (inheritance and polymorphism)

In this Python lesson, you'll learn how to call base constructors, override methods and put what you know about inheritance and polymorphism to the test.
Written by David Capka
FreeUnrated Show description
Static class members in Python

Lesson 9

Static class members in Python

In this Python lesson, we'll learn how to use static attributes and methods. We'll also mention class methods.
Written by David Capka
FreeUnrated Show description
Properties in Python

Lesson 10

Properties in Python

In this Python tutorial, we'll introduce properties (getters and setters) that will provide better object encapsulation.
Written by David Capka
FreeUnrated Show description
Magic Methods in Python

Lesson 11

Magic Methods in Python

In this tutorial, we'll look at magic object methods, their parameters and their use for our own objects.
Written by David Capka
FreeUnrated Show description
Magic Methods in Python - Math methods

Lesson 12

Magic Methods in Python - Math methods

In this Python tutorial, we'll look at other magic methods of objects, this time mainly on mathematical operations and their implementation.
Written by gcx11
FreeUnrated Show description
Magic Methods in Python - Collections and Descriptors

Lesson 13

Magic Methods in Python - Collections and Descriptors

In this article, we'll look at the magic collection methods, attribute methods and Python descriptors.
Written by gcx11
FreeUnrated Show description


 

Activities (4)