#!/usr/bin/python3 import tkinter top = tkinter.Tk() # 进入消息循环 top.mainloop()