Python多线程 坑Unhandled exception in thread started by Error in sys.excepthook
先给大家推荐翻滚吧挨踢男的博客Python菜鸟学习手册15----多线程写的又有趣又易于理解第一个demo我就踩了一次坑:deffoo(tag,delay):count=0whilecount<5:time.sleep(delay)count+=1print("%s:%s"%(tag,time.ctime(time.time())))try:_thread.start_new_thread(foo