What's the way to call a function dynamically in Python?
<p>I would like to do something like:</p>

<pre><code>dct = ['do_this', 'do_that']
dct[0]() // call do_this
</code></pre>

<p>But you can't call the string as a function (will get an error).</p>

<p>How can I achieve this without switching and without using a list of lambdas or functions?</p>

<p>Explicitly I want to refer the function by name.</p>
