import tkinter
root = tkinter.Tk()

def callbackFunc():
    print('I am in callbackFunc')
cb = root.register(callbackFunc)
root.call('eval', cb)
Calling Tcl procedures with Function pointers as argument from Python