I an trying to learn Python and I have a question. What's the difference between:
class A:
def __init__(self, name=""):
self.name = name
and
class A:
def __init__(self, name=""):
self.__name = name
I noticed that if I use the second option I get errors, but If I want to make getters and setter for my class, I need to use the "__name" form