Francisco R Porrata

Overriding in Python

In this article, we are going to explore the concept of overriding in Python. We are also going to explore what are magic methods and abstract classes. Introduction Overriding is an interesting concept in object-oriented programming.  When the method definitions of a Base Class are changed in a Subclass (Derived) Class this is called a …

Overriding in Python Read More »

Closures and Decorators in Python

This tutorial teaches you two advanced Python skills: closures and decorators. Mastering them will make you a better coder today—so, let’s dive right into them! Closures Every function in Python is first class, because they can be passed around like any other object. Usually, when a programming language creates a function just like other data …

Closures and Decorators in Python Read More »