May-17-2019, 06:06 PM
(May-17-2019, 05:37 PM)ichabod801 Wrote: Seeing as what you describe is not what I suggested you do, it's not really a counter argument to what I suggested you do. And if you GUI hangs up without the loops and the yields, there's something else going on.
Ok, fine, I will try out what you said.
Also, my GUI only hangs if I am using while loops with
time.sleep(x)(it hangs until the loop is over)
To stop it hangning, I use this script (modified to work with PyQt5) and use yields instead of 'time.sleep()'.
D