import tkinter * 和 import tkMessageBox 也没有用 必须要引用子模块 import tkinter.messagebox 转载于:https://www.cnblogs.com/kakaxi/p/8072033.html