Tkinder

def print_it():
    print("hi there")
fred["command"] = print_it
Shameem Ali