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
In questa pagina del sito puoi guardare il video online Python 3.9: Objects & Self della durata di ore minuti seconda in buona qualità , che l'utente ha caricato BitCode 04 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 77 volte e gli è piaciuto 9 spettatori. Buona visione!