class Foo:

    def __init__(self):

        def myPythonCallback(Notification):
            print(self)
pass
func = CALLBACK(myPythonCallback)
myLib.RegisterNofityCallback(45454, 0, func)
How can I get methods to work as callbacks with python ctypes?