备选方案时间。睡眠()在Python中

I was trying to make a game with Tkinter, but keeps crashing because of time.sleep(), because it makes the window sleep so it doesn't refresh.

我试着寻找“窗户从窗户上掉下来”时间。睡眠“只发现了1个问题-9票。

Is there an alternative of time.sleep()? I'm currently new to Python and stack overflow. If there is so, please answer.

谢谢你帮助我!