Introduction to Programming with Python: Classes and Object Oriented Programming
Vložit
- čas přidán 17. 07. 2022
- This video provides an introduction to classes and object oriented programming in Python. Specifically, the following topics are covered:
-Definitions of class, state/attributes, behavior/methods, object
-Docstrings to describe a class
-Instance-level vs class-level attributes
-The self reference, methods, and method invocation syntax
-Special methods like __init__() for constructing an object and __str__() for getting a string representation of an object
This video is the fourteenth video in a multi-part series on getting started with the Python programming language. Next video in the series on unit testing: • Introduction to Progra...
Source code on Github: github.com/gsprint23/Python-D... - Jak na to + styl
Awesome Explanation, thank you for that very commentative approach hmmmm are you going to do more on classes like encapsulation inheritance and other principles!