Тёмный

DESCRIPTORS IN PYTHON 

Andrey Ivanov | Python
Подписаться 5 тыс.
Просмотров 2,2 тыс.
50% 1

Andrey Ivanov - Python
Use my discount link for OKEX crypto exchange: www.okx.com/jo...
My UDEMY courses: www.udemy.com/...
Donations: www.donational...
Github: github.com/knu...
Telegram канал: t.me/pypapyrus
Other videos on Python: • Python
Leave your like and subscribe!
#Python #program #it #tutorial #guide #begginers #code #programming

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@zankoan9182
@zankoan9182 2 года назад
This was awesome , Thanks a lot for this great video ❤️
@kcvinu
@kcvinu Год назад
Thank you for the video. I have a question. In your example, you showed us how to use a descriptor in a class variable. But how does this work in instance variables ? Your amount variable is a class variable. What if we use amount as an instance variable ?
@Gameplay-ps9ub
@Gameplay-ps9ub Год назад
Sorry to say this, but I think there are multiple things which make this video confusing. e.g. In your Order class you don't define the __init__ method and the attributes you create (namely "product" and "amount") are class attributes. This is never stated explicitly. Then you define properties and use notation self.amount and thus modify the instance attribute (the Order.amount is not modified this way). It does not seem to make too much sense to have a class attribute called "amount" shared by all of the instances of Order class, if it's a property (it only makes sense for the explicitly defined descriptor actually).
@praisebetoyourCreator
@praisebetoyourCreator 2 года назад
Do you accept questions? Not related to your videos but to your experience in coding?
@PythononPapyrus
@PythononPapyrus 2 года назад
Yes, what is your question?
@praisebetoyourCreator
@praisebetoyourCreator 2 года назад
@@PythononPapyrus how long did it take you to become a coder? and was it hard in the beginning? and what do you suggest as a starting point for a beginner who want to start in this field?
@PythononPapyrus
@PythononPapyrus 2 года назад
If you want to become a coder, the amount of time can vary vastly. You can become a frontend developer in 6-12 months, but it can't be the same with security or backend programming. It was not hard at the beginning, but the most problems show up in the middle, when you think that you know everything. Being a developer is improving constantly, so you really can't say when you're done. Suggestions for the starting point can be different as well, so if you want me to help you, write to python.on.papyrus@gmail.com. I'm waiting for your message, thanks!
@praisebetoyourCreator
@praisebetoyourCreator 2 года назад
@@PythononPapyrus I will write you soon thanks Bro keep doing your thing you're an inspiration.
@kutilkol
@kutilkol Год назад
Clearly british accent here
@b.c.34
@b.c.34 Год назад
No..isn't a british(queens) accent, but an arab residing in USA accent..
@bobalbania5464
@bobalbania5464 Год назад
@@b.c.34 F*c*i*g racist
Далее
WRITING GOOD PYTHON CODE
34:52
Просмотров 217
ДЕСКРИПТОРЫ В ПИТОНЕ
22:43
Просмотров 10 тыс.
Understanding Python: Descriptors
23:42
Просмотров 6 тыс.
Expert Python Tutorial #6 - Context Managers
16:38
Просмотров 69 тыс.
8 things in Python you didn't realize are descriptors
14:21
python descriptors! (advanced) anthony explains #519
19:04
The Ultimate Guide to Writing Classes in Python
25:39
Просмотров 112 тыс.
Python Descriptors
29:29
Просмотров 29 тыс.