TTK -Taste
buttonA = ttk.Button(self, text="page one", command=lambda: controller.show_frame(pageOne))
buttonA.pack()
def my_function() :
print("foobar")
buttonB = ttk.Button(self, text="print", command=my_function)
buttonB.pack()
Vast Vulture