Ads block

Banner 728x90px

Exception Handling in Python


Python provides two very important features to handle any unexpected error in your python programs which are given below- 1. Exception Handling 2. Assertions L…
Read more »

File Handling in Python


File  File is a named location on disk to store related information. It is used to permanently store data in a non-volatile memory (Hard Disk).Since, Random …
Read more »

Magic Methods in python


Magic methods It is also called Dunder method in python. These are the methods in python having two prefix and two suffix underscores . Dunder means "…
Read more »

init method in python


_ _init__ Method The __init__ method is similar to constructor in C++ and Java . Constructors are used to initialize the object state. Like methods, a cons…
Read more »

Abstraction in Python


Abstraction Abstraction means hiding the non essential details and showing only essential detail .Abstraction is used to hide the internal functionality of th…
Read more »

Method Overriding in Python


Method Overriding      Method overriding is a type of polymorphism in which a child class which is extending the parent class can provide different definition…
Read more »

Method Overloading in python


Method Overloading     Method overloading or function overloading is a type of polymorphism in which we can define a number of methods with the same name but…
Read more »