Posts From Python OOPS


Python classmethod()

Python classmethod() is a built-in function of the Python standard library! There are three types of methods in Python: Instance Method Class Method Static Method Here, in this article, we’re going to discuss and focus on the class method of Python. So let’s get started. What is a Python classmethod()? A Python classmethod() can be […]

Closures In Python

Closures in Python – A Practical Reference

In this tutorial, we will see what are closures in Python, when do they exist and how do we use them. To understand the concept of closures, we need to understand some basic concepts like nested functions and free variables. Then we will see the implementation of closures in Python, the conditions for closures to […]


What does “Immutable” mean in Python?

What does immutable mean in Python where every entity is an object? Unlike some other programming languages, where you need to explicitly specify the type of data you’re assigning to a variable, Python doesn’t require that. Instead, it automatically assigns the data type depending on the value you provide. In short, each variable holds an […]


Python Class Attribute and Instance Attribute

In this article, we will be focusing on Python Class Attribute and Instance Attribute. Attributes are the key-players of a programming language. They are responsible for holding important data values and also help in data manipulation. Let us now get started! Understanding Python Class Attribute Python Class Attribute is an attribute/variable that is enclosed within […]


Python NONE – All You Need To Know About the NONE Object

Hey, folks! In this article, we will be focusing on Python NONE keyword. Working of Python NONE object Python NONE is an object in the world of Python – Object-Oriented Programming. You can think of it as ‘NULL’ value in other programming languages such as PHP, JAVA, etc. The NONE object is of data type […]

Python Abstraction

Understanding Abstraction in Python

Inroduction Today in this tutorial, we are going to discuss the concept of Abstraction in Python for the Object-Oriented Programming approach. If you are new to OOP, we highly recommend going through our Object-Oriented Programming in Python article. Basically, Abstraction focuses on hiding the internal implementations of a process or method from the user. In […]