python程序直接双击打开卡死
用tkinter写了一个python游戏。在atom里F5运行正常,但双击打开时会在最后结束时卡死代码在https://
有考虑是不是调用外部程序时出错,但删去后仍会卡死。且没有使用tkinter和多线程的程序中没有该现象
运行前需先空跑一次deal.cpp后得到table.data
2021-02-07 12:50
程序代码:if player[0].HP <= 0 or player[1].HP <= 0:
flag2 = 1
End = threading.Thread(target=Ending)
End.daemon = True
End.start() #在这一步卡死
2021-02-07 15:17
2021-02-07 21:38