title: Python multiprocessing: knowing the thread/CPU number
body: <p>I'm trying to code a parallel code in Python using the <code>multiprocessing</code> module and I would like to know of a way to locally know which CPU is computing, but I only know of <code>multiprocessing.CPU_count()</code> to know the total CPU cores. </p>
  
  <p>I'm looking for an equivalent of:</p>
  
  <pre><code>omp_get_thread_num()
  </code></pre>
  
  <p>in C++ openMP.</p>
  
  <p>Is there such a method in Python.multiprocessing?</p>