lass="p">,</span><span class="n">stdout</span><span class="o">=</span><span class="n">subprocess</span><span class="o">.</span><span class="n">PIPE</span><span class="p">)</span>

<span class="k">for</span> <span class="n">k</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="n">N_configs</span><span class="p">):</span>
    <span class="n">file_write</span>      <span class="o">=</span>   <span class="nb">open</span><span class="p">(</span><span class="s2">&qu