how to call method inside class code example Example: call methods from within a class def isNear(self, p): self.distToPoint(p) ...