Multiprocessing can only use functions that are defined in the main script. I would like to use a function within a function. This is not possible. Therefore, I would like to get rid of all the multiprocessing_helpers and change the multiprocessing.map command to multiprocessing.starmap. This can take more than one argument. It is only available in python 3, so I want to stop developing in python 2 and change to python 3.
Multiprocessing can only use functions that are defined in the main script. I would like to use a function within a function. This is not possible. Therefore, I would like to get rid of all the multiprocessing_helpers and change the multiprocessing.map command to multiprocessing.starmap. This can take more than one argument. It is only available in python 3, so I want to stop developing in python 2 and change to python 3.