a.py
corp = 'corp:taobao' #public
_corp = '_corp:taobao' #obey python coding convention, consider it as private
__corp = '__corp:taobao' #private
__corp__='__corp__:taobao' #special, python system use, user should not define like it
m = Manager('my', 200)
m._hello() #要用也没办法,not a good habit
m.__hello__() #not recommended
m.__hello() #AttributeError: Manager instance has no attribute '__hello'
m._Manager__hello() #name mangling就是将__fullprivate_method替换成了_Foo__fullprivate_method,目的就是以防子类意外重写基类的方法或者属性。