Python Tutorial: An introduction to classes

Опубликовано: 03 Октябрь 2024
на канале: Professor Hank Stalica
673
15

In this video, I give a brief example of how to write a class in Python. I cover the basic syntax for variables and methods, initializers, the self parameter, the str method, and a brief comment on private vs public class attributes.

The topic is presented using coding examples and provides a start to object oriented programming in Python for beginners.

This Python lecture will get you started with OOP.