Python3 隐藏数据 Python3 方法重载 Python3 For Else 语句 Python3 隐藏数据 #!/usr/bin/python3 class JustCounter: __secretCount = 0 def count(self): self.__secretCount += 1 print (self.__secretCount) counter = JustCounter() counter.count() counter.count() print (counter.__secretCount) Python3 方法重载 Python3 For Else 语句