Posts From Python OOPS

Immutable

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

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

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 […]

Encapsulation In Python

When working with an Object Oriented Programming language like Python, encapsulation in Python is one of the 4 important concepts to understand. The other three are inheritance, polymorphism, and abstraction. What is Encapsulation? When working with classes and dealing with sensitive data, providing global access to all the variables used within the program is not […]

Polymorphism in Python

Polymorphism means having vivid or different forms. In the programming world, Polymorphism refers to the ability of the function with the same name to carry different functionality altogether. It creates a structure that can use many forms of objects. This permits functions/arguments to use entities of different types at different times. In object-oriented programming, Polymorphism allows a […]