[PyQt5] I'll teach you a trick. Use the timer to play a little game against gophers

Recently, when working on a project, you need to constantly refresh the interface and continuously trigger a function within a certain period of time. According to the previous idea in Python, the first reaction is to use the time function, but the actual effect is not good and often gets stuck. Later, you try to use the built-in timer in pyqt5 ...

Posted by Mobile on Mon, 06 Sep 2021 18:53:12 -0700