16. Class and Objects [Python 3 Programming Tutorials]

preview_player
Показать описание
This video python tutorial will explain about “class” and “objects”. It has covered what is a class, how to create a class in python, how to create a method in the class and how to create an instance of a class.

Topics that are covered in this Python Video:
0:00 what is a class
2:16 create a class in python
5:00 create method in class
6:54 create an instance of a class

Next Video:

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

4:40
When he replaced name and occupation with 'n' and 'o',
I was so glad he did that, cause many teachers use similar examples and end up using similar variables for the arguments too

so when he replaced name and occupation on the arguments,
it prevented a huge confusing from occurring

This shows he's a good teacher who doesn't ignore the students' POV

sypher-
Автор

crisp and concise!!
Best teacher!! No beating around bushes.

rishirajrao
Автор

Now i got some clear concepts. Thanks sir. very well explained in simple language

tauhidanwar
Автор

Thank you for this free lessons... this is very helpful for people like me with-out any programming background...
I'm maybe slow and just reached this classes & objects, but am learning and still enjoying.
Am confident i'll finish until the end and will take-on projects after...

surewin
Автор

Thank you for the playlist. I've finished watching from no 1 to 16 of this playlist because of the data scientist road map video.

WaiYarAung-nr
Автор

Great explanation. It looks similar to functions, as it takes a value and returns something. Can you explain where we need to use functions and where to use classes?

AaRaTales
Автор

hello, when i wrote the same code given at 8:10, then i was shown an error "Human() takes no argument" why is it so? i have written the code in jupyter notebook.

tabassumhossain
Автор

Haved check of multiple explanations for class and object certainly your is the best thankuuuu fr clearing the doubts...
Your simplicity in explaining is what makes so easy and interesting to follow u...the day i will be a data analyst a big credit will go to u sir...😊🙏🏻😊

saurabhnandsrivastava
Автор

Thanks a lot for such an excellent explanation!!

giridharchandrashekar
Автор

wow 1! very good and simple explanation!

mvvivas
Автор

thanks for this video concept is clear now

HimanshuGupta-fbbz
Автор

Excellent tutorial,
It will be great if you can elaborate with some example the point you made at 9:17
I have been programing and never feel the need for classes but I see it being emphasised a lot.
Thanks again for your excellent tutorials

guptamols
Автор

great job! keep it up with great explanations.

PrasannaKulkarni
Автор

Excercise answer::
**correction in line 20**
except NameError << except AttributeError
Please correct it. Thank You.
I am from physics background. If I study 5-6 hrs daily, after how many months I can get a job in data science?

raihanislam
Автор

When I did as same as you told still it is telling Attribute error saying that 'Human' object has no attribute 'do_work'
Why is this so????

अभिव्यक्ति-वव
Автор

Can someone help, I am comfortable making the class however how to import it into another file?

RobertoYNWA
Автор

Unresolved attribute reference 'do_work' for class 'Human' - This the error i am facing. Can you please help me?

laxmiagarwal
Автор

sir i got this error
IndentationError: unindent does not match any outer indentation level

sekharperumani
Автор

Thank you for the video
please from where can we get the methods (do_work) and (speaks) ? are there special libraries for exemple that are associated with the classe Human ?

hichemhadji
Автор

there are errors in the code of the exercise you have given and I am unable to understand the complete solution

sagarvats
welcome to shbcf.ru