By default all methods and attributes in a python class are public. That means They can be accessed by the class members and by the module which contains it's import. There is no inbuilt syntax available for private, protected, friend, protected friend attribute in python, but you can do necessary changes to your variables to … Continue reading Access Specifiers/ Private-Protected in Python OOP