
Master the fundamentals of object oriented programming in python, learning class, object, attribute, behavior, and self, with a simple, easy-to-understand first step.
Explore how a class serves as a container in OOP, grouping related blocks for student and teacher code and turning them into a reusable object with functions.
Discover that a class consists of two components: functions and variables, where behaviors are the functions that perform actions and attributes are the variables that describe the subject.
Learn how to create a class in Python by defining a function first, then building a class with attributes and behaviors, and accessing them via the class name.
An object is a copy of a class you can edit and customize, with changeable attributes that do not affect the class itself, used to represent students.
Learn how to create an object from a class, create a copy of the class as an object, and distinguish between the class and its object by using parentheses.
Learn how referencing a class name without parentheses refers to the class itself, while adding parentheses creates a new object. Explore storing the class or a new instance in variables.
Explain how self refers to the object itself, and how calling a behavior from a class runs with no arguments, while calling from an object passes the object as self.
Explore how to access a class attribute versus an instance attribute using self or ClassName inside a behavior, and observe how changes reflect when the behavior runs.
Learn to add a new attribute to an object in Python using dot notation inside the object and a function that updates attributes by passing the object as self.
See how the cutter functions as a class template and the cut out as an object, illustrating how to create new objects from a class in Python.
Imagine a class as a cutter that defines a template, and create objects as cut-outs that follow that template. Use classes to generate many objects from a single blueprint.
Edit and customize the cutout from the cutter, shape it, soften it, and prepare it for sale by adding the buyer's name.
Explore how the Python __init__ initialization function prepares objects by setting attributes like student name and age for each instance (Muhammad, Jack, Nora).
Explore the first part of object oriented programming in python as this course covers what you learned and invites you to rate the course and leave feedback.
this course is a course that talks about OOP (Object Oriented Programming) in Python,
this course is for programmers who are struggling with the OOP, and are not able to understand it, because it is explained in a hard way.
- this course is talking about what is OOP (Object Oriented Programming), and how to apply it to your code.
- this course also is talking about the classes, what are they, and how can you create a class correctly.
- this course also is explained well for beginners to OOP and those who are new to coding with Python.
- this course also is talking about objects, what are they, how can we use them, their benefits, and how can you create an object correctly
- this course also talks about self and what is it, and what is the secret behind it, and how can i use it.
- this course also talks about the initialization concept, what is it, and how it works, and it talks about the __init__ function.
this course provides you with a list of lectures with high quality that are talking about the OOP (Object Oriented Programming) concept, and it removes the misunderstanding of the OOP (Object Oriented Programming) concept.