 class="k">def</span> <span class="nf">_get_pid</span><span class="p">(</span><span class="n">name</span><span class="p">):</span>
    <span class="sd">&#39;&#39;&#39;used to get the pid of a process, by name</span>
<span class="sd">       </span>
<span class="sd">       Parameters</span>
<span class="sd">       ==========</span>
<span class="sd">       name: the name of the process to get.</span>
<span class="sd">    &#39;&#39;&#39;</span>
    <span class="k">try</span><span class="p">:</span>
        <spa