Jun-16-2022, 08:46 PM
Try multiprocessing with args=each sublist https://pymotw.com/3/multiprocessing/basics.html multiprocessing.cpu_count() will tell you how many cores your computer has=how many separate processes to start. Also take a look at multiprocessing.Pool in the docs from the link above.