Posts From Python OOPS


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

Object-Oriented Programming in Python

Object-oriented programming (OOP) refers to the software design wherein programmers define the data type of a data structure, and the types of functions that can be applied to the data structure. This paradigm provides functionalities and behavior pattern to the structure of data. This paradigm maps and models real-world things together and describes a relationship among […]

Python Multiple Inheritance

When a class inherits from more than one class, it’s called multiple inheritances. Python supports multiple inheritances whereas Java doesn’t support it. The properties of all the super/base classes are inherited into the derived/subclass. Python Multiple Inheritance Syntax The syntax for Multiple Inheritance is also similar to the single inheritance. By the way, the derived […]