AttributeError: module 'tkinter' has no attribute 'messagebox'

AttributeError: module 'tkinter' has no attribute 'messagebox'

import tkinter * 和 import tkMessageBox 也没有用

必须要引用子模块 import tkinter.messagebox 


猜你喜欢

转载自blog.csdn.net/qq_39208536/article/details/80852512