Python classes, object instances, methods, and the self parameter in Python

Опубликовано: 17 Октябрь 2023
на канале: PatchyPython
40
0

An introduction to the basic Object Oriented Programming concepts in Python. We start from the definition of a class, which is a kind of template for creating objects. We introduce methods and attributes, and the "self" parameter. We then show how to create instances of the class. We also clarify the meaning of the object-dot-method syntax and its relation to the self parameter. Check out the notebooks linked below for more information on OOP in Python.

Embedded video, part of the following courses:
Computer Programming at Queen Mary, University of London
Jupyter notebook: https://tinyurl.com/yc7u9fsc
Coding for Scientists at Queen Mary, University of London
Jupyter notebook: https://tinyurl.com/4yhnhjn6

Notebooks will open on Google Colab - no installation required


Смотрите видео Python classes, object instances, methods, and the self parameter in Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь PatchyPython 17 Октябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 40 раз и оно понравилось 0 людям.