pan> <span class="o">=</span> <span class="s1">'.'</span> <span class="o">+</span> <span class="n">ext</span>

    <span class="n">tmp_dir</span> <span class="o">=</span> <span class="n">path</span><span class="o">.</span><span class="n">create_tempdir</span><span class="p">(</span><span class="s1">'tmp_archives/'</span> <span class="o">+</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">basename</span><span class="p">(</span><span cla