Difference: self.foo and self._foo

When I write a class, in the init function,
what’s the difference between a code like this:

__init__(self,a,b,c):
   self.a=a
   self.b=b
   self.c=c

and a code like this

__init__(self,a,b,c):
   self.__a=a
   self.__b=b
   self.__c=c

???

thx,

     Manuel

PS:: I’m reading Dive into Python, but I can’t see this…

It is a method to create pseudo private class variables. This doesn’t mean the variables are private like in C++, only the name is changed (‘mangled’). You can still change them outside of the class.
If your class is called ‘myclass’, then for your example the variable names would be changed to _myclass__a, _myclass__b and _myclass__c.

Thx!!
My error is to think it mean a private class variables…