filmov
tv
Learn Python Object Oriented Programming! 🚗

Показать описание
#python #pythonprogramming #pythontutorial
00:00:00 introduction
00:01:53 classes
00:02:19 constructors
00:04:13 instantiate objects
00:05:06 attribute access operator
00:06:09 multiple objects
00:07:19 modules
00:08:21 methods
00:11:52 conclusion
# object = A "bundle" of related attributes (variables) and methods (functions)
# Ex. phone, cup, book
# You need a "class" to create many objects
# class = (blueprint) used to design the structure and layout of an object
class Car:
def __init__(self, model, year, color, for_sale):
def drive(self):
# print("You drive the car")
def stop(self):
# print("You stop the car")
def describe(self):
# --------------------------------------
from car import Car
car1 = Car("Mustang", 2024, "red", False)
car2 = Car("Corvette", 2025, "blue", True)
car3 = Car("Charger", 2026, "yellow", True)
# --------------------------------------
00:00:00 introduction
00:01:53 classes
00:02:19 constructors
00:04:13 instantiate objects
00:05:06 attribute access operator
00:06:09 multiple objects
00:07:19 modules
00:08:21 methods
00:11:52 conclusion
# object = A "bundle" of related attributes (variables) and methods (functions)
# Ex. phone, cup, book
# You need a "class" to create many objects
# class = (blueprint) used to design the structure and layout of an object
class Car:
def __init__(self, model, year, color, for_sale):
def drive(self):
# print("You drive the car")
def stop(self):
# print("You stop the car")
def describe(self):
# --------------------------------------
from car import Car
car1 = Car("Mustang", 2024, "red", False)
car2 = Car("Corvette", 2025, "blue", True)
car3 = Car("Charger", 2026, "yellow", True)
# --------------------------------------
Python Object Oriented Programming (OOP) - For Beginners
Python Object Oriented Programming in 10 minutes 🐍
Object Oriented Programming with Python - Full Course for Beginners
Python Classes and Objects - OOP for Beginners
Python OOP Tutorial 1: Classes and Instances
Learn Classes in Python in 4 Minutes
Object-oriented Programming in 7 minutes | Mosh
Python Classes and Objects || Python Tutorial || Learn Python Programming
Python for Data Science Lecture 30: OOPs (Object-Oriented Programming) Part 3
Object Oriented Programming (OOP) in Python
Python Object Oriented Programming for COMPLETE Beginners - Classes and Objects
Object Oriented Programming (OOP) In Python - Beginner Crash Course
Classes and Objects with Python - Part 1 (Python Tutorial #9)
OOP in Python | Object Oriented Programming
Python in 100 Seconds
Everything you need to know about Classes in Python! (Object Oriented Programming Tutorial)
Classes And Objects In Python | Python OOP Tutorial | Python Tutorial For Beginners | Simplilearn
Python OOP Tutorial (Object Orientated Programming ) - Intro
25 nooby Python habits you need to ditch
Object-oriented Programming (OOP) in Python (Easy to Understand Guide) #20
#48 Python Tutorial for Beginners | Object Oriented Programming | Introduction
Python for Beginners - Learn Python in 1 Hour
Understanding classes and object-oriented programming [Python Tutorial]
Object Oriented Programming In Python | Python Object Oriented Programming Advanced | Simplilearn
Комментарии