Python Tkinter Menu creation not working
问题 I am new to programming and am trying to create a menu in Python with the Tkinter package. But whenever I run the script in IDLE, all that is displayed is the top level (root) window. Here is my script: from tkinter import * from tkinter import ttk root.option_add('*tearOff', False) menubar1 = Menu(root) root.configure(menu = menubar1) file = Menu(menubar1) edit = Menu(menubar1) help_ = Menu(menubar1) tools = Menu(menubar1) other = Menu(menubar1) menubar1.add_cascade(menu = file, label =