python Private variable does not exist in , If there are properties in the class that need to be protected , Then you can prefix the attribute with two underscores , The actual name of the attribute is hidden ( Of course it was just renamed , There is still a way to access , But at least IDE Don't show it directly in , You can't misuse it if you don't use it intentionally )