tkinter

    7热度

    2回答

    我写了一个小小的python脚本,弹出一个消息框,其中包含在命令行上传递的文本。只有当前一个呼叫产生的窗口未打开时,我才会弹出它。 from Tkinter import * import tkMessageBox root = Tk() root.withdraw() # TODO not if a window with this title exists tkMessageBo