OOP in Python - Classes, Objects, class methods, monkey patching & more!

Publicado em: 14 Março 2024
no canal de: Socratica
29,733
1.4k

𝙎𝙞𝙜𝙣 𝙪𝙥 𝙛𝙤𝙧 𝙎𝙤𝙘𝙧𝙖𝙩𝙞𝙘𝙖 𝘾𝙤𝙪𝙧𝙨𝙚𝙨: https://www.socratica.com/collections
𝙎𝙤𝙘𝙧𝙖𝙩𝙞𝙘𝙖 𝙋𝙮𝙩𝙝𝙤𝙣 𝙨𝙝𝙞𝙧𝙩: https://shop.socratica.com/products/p...

In this tutorial on object-oriented programming (OOP) in Python, we use the analogy of making cookies to explain the concepts of classes and objects. This allows you to understand the distinction between classes (cookie cutters) and objects (cookies). We go on to explain how to define classes, create objects, and utilize methods. Additionally, this video covers the use of class attributes, instance attributes, class methods, and instance methods. Special cameo by monkey patching!

𝙋𝙧𝙤𝙜𝙧𝙖𝙢𝙢𝙞𝙣𝙜 𝙥𝙡𝙖𝙮𝙡𝙞𝙨𝙩𝙨:
Python: http://bit.ly/PythonSocratica
SQL: http://bit.ly/SQL_Socratica

Subscribe to Socratica + bell for notifications:
http://bit.ly/SocraticaSubscribe

⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
ebook: https://amzn.to/2Lh3XSP
Paperback: https://amzn.to/3t5jeH3
Kindle Unlimited (read free): https://amzn.to/3atr8TJ

Python Cookbook, 3rd edition
https://amzn.to/3jprjX2

More Socratica Python goodies here:
https://shop.socratica.com/collection...

⧓⧓⧓⧓⧓
Join this channel to get access to perks:
   / @socratica  

Support Socratica on Patreon:
  / socratica  

Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison
Edited by Megi Shuke and Michael Harrison

#python #pythonprograming #OOP


Nesta página do site você pode assistir ao vídeo on-line OOP in Python - Classes, Objects, class methods, monkey patching & more! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Socratica 14 Março 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 29,733 vezes e gostou 1.4 mil espectadores. Boa visualização!