Python的Tkinter将窗口置顶

root = Tk()
root.wm_attributes('-topmost',1)

原文地址:https://www.cnblogs.com/wangjiyuan/p/zhiding.html