title: Running Python script parallel
body: <p>I have a huge dataset of videos that I process using a python script called <code>process.py</code>. The problem is it takes a lot of time to process all the dataset which contains 6000 videos. So, I came up with the idea of dividing this dataset for example into 4 and copy the same code to different Python scripts (e.g. <code>process1.py</code>, <code>process2.py</code>, <code>process3.py</code>, <code>process3.py</code>) and run each one on different shells with one portion of the dataset. </p>
  
  <p>My question is would that bring me anything in terms of performance? I have a machine with 10 cores so it would be very beneficial if I could somehow exploit this multicore structure. I heard about <code>multiprocessing</code> module of Python but unfortunately, I don't know much about it and I didn't write my script considering that I would use its features. Is the idea of starting each script in different shells nonsense? Is there a way to choose which core would be used by each script?</p>