Dec-07-2017, 03:55 AM
python does have private class variables
class MyClass: def __init__(self, value): self.__value = value a = MyClass(1) try: print(a.__value) except: print("Sorry variable is private")
99 percent of computer problems exists between chair and keyboard.