C# week November Black Friday
Black friday is here! Get up to 80 % extra points for free! More info
Only this week up to 80 % off on C# courses. More info

Object-Oriented Programming in Python

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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by David Capka
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.
FreeUnratedWritten by gcx11
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.
FreeUnratedWritten by gcx11


 

Activities (1)