Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Constructor Using New Method in Python | 45

9.2K views on YouTube

In this video, we’ll dive into the concept of constructors in Python and understand how they work in object-oriented programming.

What’s Covered?

▶️ What Is a Constructor?
Learn the purpose of a constructor and how it helps initialize objects in Python.

▶️ Constructor Syntax:
Understand the correct syntax for defining a constructor using the _new_() method. We’ll show you exactly how to write and structure a constructor inside a class.

▶️ When Is the Constructor Called?
See how the constructor is automatically invoked whenever an object of a class is created.

▶️ What Is a Singleton Class?
Get introduced to the concept of a Singleton class, where only one object can be created for a class, and understand why it’s used in special scenarios.

▶️ Using super() in Constructors:
Learn how super() is used inside constructors to call the parent class constructor in inheritance — making code reusable and clean.

By the end of this video, you’ll have a strong understanding of constructors in Python, how they behave, when they are executed, and how to use advanced concepts like singleton patterns and super() in your classes.

Check out our courses:

Agentic AI Engineering with Python : https://go.telusko.com/agentic-ai-python
Coupon: TELUSKO10 (10% Discount)

Master Java Spring Development : https://go.telusko.com/learn-master
Coupon: TELUSKO10 (10% Discount)

For More Queries WhatsApp or Call on : +919008963671

website : https://telusko.com/

Udemy Courses:

Java Spring:- https://go.telusko.com/Udemyjavaspring
Java:- https://go.telusko.com/udemyteluskojava
Spring: https://go.telusko.com/udemyteluskospring
Java For Programmers:- https://go.telusko.com/javaProgrammers
Python : https://go.telusko.com/udemyteluskopython
Git : https://go.telusko.com/udemyteluskogit
Docker : https://go.telusko.com/udemyteluskodocker

Instagram : https://www.instagram.com/navinreddyofficial/
Linkedin : https://in.linkedin.com/in/navinreddy20
WhatsApp : https://go.telusko.com/whatsapp
Discord : https://discord.gg/D8hWe9BqfF