Single and Double Underscores in Python Names - Real Python
Briefly

In contrast, Python doesn't have the notion of public and private members. It has neither dedicated keywords nor syntax for defining them. So, you can always access the members of a Python class.
If Python doesn't have a specific syntax to define when an object is part of a public interface, then how do you tell your users that they can or can't use a given class, method, function, variable, constant, or even module in their code?
Read at Realpython
[
add
]
[
|
|
]