python的tkinter模塊創建菜單需要先實例化菜單

今日再看21天學通python這本書,在做第二十章的例子的時候,發現沒有出現菜單欄。本來的源代碼如下: #coding:utf-8 #file:findfat1.py import tkinter import tkinter.messagebox class Windows:     def __init__(self):         self.root=tkinter.Tk()      
相關文章
相關標籤/搜索