I'm looking for a way to call a function when you try to perform a class function on an object that doesn't exist, similar to __missing__
for dictionaries.
class Foo:
def pront(self):
print(self)
def doesntexist(self):
pass #do stuff
object1 = Foo
object1.pront() #works
object2.pront() #calls the doesntexist function