Python Beginner Tutorial 11 For Absolute Beginners - (Sub-Classing)

preview_player
Показать описание

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

you are absolutely great!!! i have no previous experience in coding and you make it so even i can understand this. separating your tutorials from the rest. thank you.

jhonnydjhonnyd
Автор

this is definitely my favorite courses about python in the internet.
Please make a video about how to make a text parser, and how to use network connections

eduardmart
Автор

Classes and sub-classes seem super useful since you can make a class out of anything. Then extracting the information from a class sounds super powerful. I've been watching videos about web scrapping and thinking of how I can use something similar to maybe make a class of websites define things I want from those sites and accumulate all the data for analysis.

Dchane
Автор

Just so y'all know, in __init__, 'init' is small talk for initialization.

braidenanderson
Автор

It really bothers me when I I copy you exactly, check for typos and end up with an error message. :/ I'll get it eventually. LOL

Northable
Автор

At the end why does only the employee_id and haircolour display. Where is the name and height?

prajwalyb
Автор

They say if you can explain it to someone else, that proves that you have the knowledge:
Part 1
Create a Class (Person)
Initialize the class (initialize the class ("Person")
define class elements in the class (self, hair color, height, name, etc.)
functions in the class (print, open a file, etc.)
Part 2
Create an instance of the class Instance: instance =Chris (Person)
I'll stop there for right now.

sbollmeyer
Автор

So I guess sub-classes are inevitable. Shows how important it is to plan a project so you can include everything in the main class and save a lot of time not having to code sub-classes. But I suspect that is too easy of an explanation. Change orders, modifying previous code, money available for modifying code, time constraints.

sbollmeyer