What does the word 'self' in 'func(self)' mean and what is it for?

Course Name: Python For Trading!, Section No: 1, Unit No: 16, Unit type: Video

Hi Angel,



The self parameter is a reference to the current instance of the class and is used to access variables that belong to the class.



You can read more about it here.



Hope this helps!