【发布时间】:2013-06-27 03:16:50
【问题描述】:
>>> from Tkinter import tkMessageBox
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from Tkinter import tkMessageBox
ImportError: cannot import name tkMessageBox
我收到此错误,即使 from Tkinter import * 工作正常。我正在使用 Python 2.7.5。
【问题讨论】:
标签: python python-2.7 tkinter