OOPS in Python (Object Oriented Programming) | Classes & Objects [Part 55] Python Tutorial in Hindi

preview_player
Показать описание
#techgun #python #tutorial #hindi #programming

Python tutorial for Beginners in Hindi

In this video you will learn about Object Oriented Programming in Python.

Object-oriented programming (OOP) in Python is a paradigm that allows developers to structure their code around objects, making it easier to manage and manipulate data. At its core, OOP revolves around the concept of classes and objects. A class serves as a blueprint for creating objects, defining their properties (attributes) and behaviors (methods). In Python, classes are created using the class keyword, and objects are instances of these classes.

Encapsulation is a key principle of OOP, promoting the bundling of data and methods that operate on that data within a single unit, i.e., the class. This helps in hiding the internal implementation details of an object and allows for better control over access to its attributes and methods. In Python, encapsulation is achieved through the use of access modifiers like public, private, and protected.

Inheritance enables the creation of new classes (derived classes) that inherit properties and behaviors from existing classes (base classes). This promotes code reuse and allows for the creation of hierarchical relationships between classes. Python supports single and multiple inheritance, where a derived class can inherit from one or more base classes.

Polymorphism allows objects of different classes to be treated as objects of a common superclass, providing a way to perform a single action in different ways. This is achieved through method overriding and method overloading, where subclasses can redefine methods of the superclass or provide different implementations based on the context.

Overall, object-oriented programming in Python offers a powerful and flexible approach to software development, enabling developers to write modular, maintainable, and scalable code.

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.

Why to Learn Python?
Python is consistently rated as one of the world's most popular programming languages. Python is fairly easy to learn, so if you are starting to learn any programming language then Python could be your great choice. Today various Schools, Colleges and Universities are teaching Python as their primary programming language. There are many other good reasons which makes Python as the top choice of any programmer:

1. Python is Open Source which means its available free of cost.
2. Python is simple and so easy to learn
3. Python is versatile and can be used to create many different things.
4. Python has powerful development libraries include AI, ML etc.
5. Python is much in demand and ensures high salary

Other Important tutorial
------------------------------

Рекомендации по теме
Комментарии
Автор

Sir aap bahut simple trike se complicated topics btate h . Thankyou sir🙌

komalsethi
Автор

I learn html, css, bootstarp, tailwind css, javascript, and now python from your videos.
so, please continue this

EthicalHacker-fyrd
Автор

Amazing Sir Keep it up and complete python in next few months please sir which why you tech nobody tech you know how to explain anything ❤

UCDAT
Автор

The best teaching technique, I must say!

mukeshroy
Автор

Sir apke all video dekhe apne bahut sahi se simple way understanding se explain kiye hai please continue more python video

prasaderande
Автор

zabardast zabardast plz give more information about how to learn programming language by the way i love your teaching skills you teach every concept from basic

alimurtaza
Автор

i learn all this in your channel please continue this python series

nirbhaykumarsaini
Автор

Thankyou sir for this amazing playlist 😊 keep Going ❤

arjunghadi
Автор

namaskar sir.

mene bahut sare u tube videos deki hai . but mujhe apka step by step samjana bahut achh laga .

thaks sir

kabeersharma
Автор

sir hm jo wait kr rhay thay us se better ap ne 1 video mn hi poori oop ka cocept bna dya. Or ap ne shorts b dal dye like a roadmap thanks you so much ❤ love from pakistan

error_
Автор

Lesson 1: Introduction to Object-Oriented Programming
00:00-05:00: What is OOP?
05:00-10:00: Real-world analogies
10:00-15:00: Key concepts: objects, classes, attributes, and methods

Lesson 2: Creating Classes and Objects
15:00-20:00: Defining a class
20:00-25:00: Creating objects
25:00-30:00: The __init__ method
30:00-35:00: Accessing attributes and methods

Lesson 3: Methods and Functions
35:00-40:00: Defining methods
40:00-45:00: The self parameter
45:00-50:00: Calling methods
50:00-55:00: Difference between methods and functions

Lesson 4: Inheritance
55:00-60:00: Understanding inheritance
60:00-65:00: Parent and child classes
65:00-70:00: Overriding methods
70:00-75:00: Real-world examples

Lesson 5: Magic Methods
75:00-80:00: Introduction to magic methods
80:00-85:00: The __init__ method in detail
85:00-90:00: Other common magic methods
90:00-95:00: Customizing object behavior

Lesson 6: Attributes and Properties
95:00-100:00: Creating and accessing attributes
100:00-105:00: Difference between attributes and properties
105:00-110:00: Using @property decorator

Lesson 7: Encapsulation
110:00-115:00: Protecting data within objects
115:00-120:00: Public, private, and protected attributes
120:00-125:00: Getters and setters

Lesson 8: Polymorphism
125:00-130:00: Understanding polymorphism
130:00-135:00: Method overriding
135:00-140:00: Duck typing

Lesson 9: Advanced OOP Topics
140:00-145:00: Abstract classes and interfaces
145:00-150:00: Multiple inheritance
150:00-155:00: Operator overloading
DECLATION :
I AM NOT SURE IF THIS IS THE CORRECT VIDEO TIME LINE.

BestKhoj
Автор

Sir u r back, really I am happy
Thanks a lot sir🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

SwathiS-jm
Автор

Sir please continue PYTHON series. All serious viewers will watch the series for sure.

A very few channel and teachers can give both quality with simple language.
We want somebody to complete begineer to advanced in hindi (Indian) language

SubhamSahoo-qwhg
Автор

@vishvajeet, please continue advance python series.

nakulsharma
Автор

Hi Vishwajeet
Please continue Python series

nakulsharma
Автор

👉Sir please Node Js and MongoDB pe complete video bna dijie n 😢 sir please aapse hi m sara starting se html, css, javascript, react sikha h jo ki mera concept bahut acche se clear kr diye aapne so please dir ek request or h aap iaspe video bna dijie jisse mera Mern stack development complete ho jayega🙏🏻

softmedun
Автор

You are the master of python sir, you explain the lectures with great concept

amjadahmadzai
Автор

kindly continue the video for advances level, i have understand python from your vedios only , i have toh lyk and subscribe your channel, please dnt discontinue.

payalthakur
Автор

Sir please provide a tutorial for django

AkbarKhan-gdbw
Автор

Sir, your way of teaching is awesome and I have learnt a lot. 🎉
Sir please make a latest course for Web development A to Z everything. I will be the first to buy it.

adamasMagna
visit shbcf.ru