Python 3.9: Objects & Self

Publié le: 04 mars 2021
sur la chaîne: BitCode
77
9

Welcome to another Python 3.9 tutorial video, this video is about objects and self.

An Object is an instance/copy of a Class. A class is like a blueprint while an instance is a copy of the class with actual values. Object allows you to do stuff with the class.

Lets talk about self,
The self parameter is a reference to the current instance/object of the class, and is used to access variables that belongs to the class.
It does not have to be named self , you can call it whatever you like, but it has to be the first parameter of any function in the class

Keyboard I Use: https://amzn.to/2NgjPFV

Playlist:   • Installing Python 3.9  


Sur cette page du site, vous pouvez voir la vidéo en ligne Python 3.9: Objects & Self durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur BitCode 04 mars 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 77 fois et il a aimé 9 téléspectateurs. Bon visionnage!