">        Path to generated .gz file</span>
<span class="sd">    """</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="n">dst_path</span><span class="p">:</span>
        <span class="n">dst_path</span> <span class="o">=</span> <span class="n">src_path</span> <span class="o">+</span> <span class="s1">'.gz'</span>

    <span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">src_path</span><span class="p">,</span> <span class="s1">'rb'</span><