New course! Every coder should learn Generative AI!
Try a free lesson2 Answers
0
If you start a variable or function name with __, it will not be accessable directly via object.
You can access it anyway if you go via class, but at least it doesn't 'just happen'. That's the privacy you get in Python.