编程频道|软件玩家 - 软件改变生活!
  •  首页
  •  编程
  •  IT技术
  •  数码大全
  •  登录
  1. 标签
  2. “RuntimeError main thread is not
  • “RuntimeError: main thread is not in main loop“的几种解决方案

    方法一(Tkinter)最后写代码语言:javascript代码运行次数:0运行复制root.mainloop()当然,如果不是root,则应使用Tk对象的名称代替root。方法二(多线程)将线程设置为守护程序代码语言:javascript
    “RuntimeError main thread is not in main loop“的几种解决方案
    admin1月前
    600
CopyRight © 2022 All Rights Reserved 豫ICP备2021025688号-21
Processed: 0.021, SQL: 9