Sep-07-2022, 09:05 PM
(This post was last modified: Sep-07-2022, 09:07 PM by deanhystad.)
Tkinter freezes because you are sleeping 270 (15 * 18) seconds. "But wait!" you say, "I am doing multi-processing!". That may be true, but starmap() blocks, waiting for all the processes (which are executing on different processors) to complete. I don't know how many processes you can run in parallel, but if it is 3, that still means waiting 90 seconds (or more) for everything to finish. Can you use starmap_async()?