1.按钮 tkBtton.py import tkinter root = tkinter.Tk() btn1 = tkinter.Button(root, anchor=tkinter.E,\ text='Button1', width=40, height=5) btn1.pack() btn2 = tkinter.Button(root, \ text='Button2', bg='blue') btn2.pack() btn3 = tkinter.Button(root, \ text=…