In this video I show you how you can speed up your python scripts with the multiprocessing module. The basic idea behind this script is to define a function and that function should work on a slice of an array defined by the number of worker processes.
Github:https://github.com/r3ap3rpy/python/blob/master/multiprocessor.py