from tkinter import * import GUI if __name__ == "__main__": root = Tk() GUI_Frame = GUI.BotGUI(root) B = Button(root, text=' 9 ', activebackground="grey", command=lambda: GUI_Frame.press(9), height=1, width=7) B.grid(row=8, column=2) B = Button(root, text=' 8 ', activebackground="grey", command=lambda: GUI_Frame.press(8), height=1, width=7) B.grid(row=8, column=1) B = Button(root, text=' 7 ', activebackground="grey", command=lambda: GUI_Frame.press(7), height=1, width=7) B.grid(row=8, column=0) B = Button(root, text=' 6 ', activebackground="grey", command=lambda: GUI_Frame.press(6),