/span>
    <span class="k">try</span><span class="p">:</span>
        <span class="n">NetId</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span>
            <span class="n">pd</span><span class="o">.</span><span class="n">read_sql</span><span class="p">(</span>
                <span class="n">text</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;SELECT NetId FROM Networks WHERE NetName = &#39;</span><span class="si">{</span><span class="n">name</sp