ean_dest_dir</span><span class="p">()</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">path</span><span class="o">.</span><span class="n">remove_directory</span><span class="p">(</span><span class="n">dest_dir</span><span class="p">)</span>

    <span class="k">try</span><span class="p">:</span>
        <span class="k">if</span> <span class="n">extract_nested</span> <span class="ow">or</span> <span class="n">remove_root_dir</span><span class="p">:</span>
       