Category Python
Exception Handling in Python (with Example)

In this tutorial, we will understand exception handling in Python with the help of examples. When we write and execute a program in Python, we may have encountered several kinds of runtime errors, such as integer division by zero, accessing…
OOPs Concepts in Python (with Examples)

In this tutorial, we are going to delve into the basic of OOPs concepts in Python with the help of important examples. Object-oriented programming (OOP) is a concept that deals with encapsulation, inheritance, polymorphism, abstraction, etc. Simula67 was the first…
Interface in Python

An interface in Python is a general specification for implementing a specific service, declaring the required methods without specifying exactly how they must be implemented by any class that implements to it. In other words, an interface is a blueprint…
Abstraction in Python (with Examples)

Abstraction is another powerful object-oriented programming feature in Python that allows us in order to manage or minimize complexity. We can define abstraction as: The process of handling complexity by hiding unnecessary details from the user and providing only necessary…
Polymorphism in Python (with Example)

Polymorphism is one of the most important object-oriented programming feature in Python. It allows objects to take multiple forms or behaviors based on the context in which they are used. The word polymorphism is derived from two Greek words, poly…
