filmov
tv
Create your First Class and Object - Python Malayalam #15

Показать описание
This video is part of the Python Malayalam course. Timestamps:
0:00 Introduction
0:41 create a class
2:06 constructor of a class
3:04 creating object of a class
4:44 create pooperties and methods in a class
5:40 'self' parameter of a function
6:08 create object of a class
6:52 defining paremeters in a method
7:55 create properties in a class
10:05 call a method of an object
11:14 change property of a object using a method
13:16 directly access properties of an object
In this video, you’ll learn the basics of creating classes and objects in Python, along with key concepts like the __init__ method, attributes, and methods. We'll cover everything from defining your own class and initializing attributes to working with methods and using self. By the end, you’ll be able to create and use your own Python objects with confidence!
Topics Covered:
★ How to create a class
★ Naming conventions: snake_case for class names, attributes, and methods
★ The __init__ method and its role in initializing object attributes
★ Understanding and using self to refer to class instances
★ Declaring and accessing attributes
★ Creating methods and passing arguments
★ How to create and use objects of a class
Python version used in this tutorial: 3.11
Links:
#PythonDictionary #PythonProgramming #PythonForBeginners #PythonTips #LearnPython #MalayalamProgramming #പൈത്തൺപ്രോഗ്രാമിംഗ് #മലയാളം #oops #class #object #ObjectOrientedProgramming #പൈത്തൺ
0:00 Introduction
0:41 create a class
2:06 constructor of a class
3:04 creating object of a class
4:44 create pooperties and methods in a class
5:40 'self' parameter of a function
6:08 create object of a class
6:52 defining paremeters in a method
7:55 create properties in a class
10:05 call a method of an object
11:14 change property of a object using a method
13:16 directly access properties of an object
In this video, you’ll learn the basics of creating classes and objects in Python, along with key concepts like the __init__ method, attributes, and methods. We'll cover everything from defining your own class and initializing attributes to working with methods and using self. By the end, you’ll be able to create and use your own Python objects with confidence!
Topics Covered:
★ How to create a class
★ Naming conventions: snake_case for class names, attributes, and methods
★ The __init__ method and its role in initializing object attributes
★ Understanding and using self to refer to class instances
★ Declaring and accessing attributes
★ Creating methods and passing arguments
★ How to create and use objects of a class
Python version used in this tutorial: 3.11
Links:
#PythonDictionary #PythonProgramming #PythonForBeginners #PythonTips #LearnPython #MalayalamProgramming #പൈത്തൺപ്രോഗ്രാമിംഗ് #മലയാളം #oops #class #object #ObjectOrientedProgramming #പൈത്തൺ
Комментарии