title: How to pin different processes to individual cpu cores in Python
body: <p>I'm writing a Python program that will load a wordlist from a text file and then try unzipping an archive with each word. It wouldn't be serious if it didn't make use of all cpu cores. Because of the GIL, threading in Python isn't a great option if I'm not mistaken.</p>
  
  <p>So I want to get the number of cpu_cores, split the wordlist and use the multiprocessing.process module to process different parts of the wordlist in different processes.</p>
  
  <p>But would every process get pinned to a cpu core automatically? If not, is there a way to pin them manually?</p>