if __name__ == "__main__":
loop = True
loggedIn = False
vsbl = None#Assign None type
root = Tk()
Cube.displaying()
btn_rr = ttk.Button(root, text="right forward")
btn_rr.pack()
btn_rr.config(command = lambda: Cube.rotate_right("forward"))
while loop:
I am building a Rubik's Cube program - I want to add buttons. The module I am using is called VPython. Whether I place the buttons inside or outside the loop they won't display until I close the VPython window.