Making all variables accessible to namespace
<p>Say I have a simple function:</p>

<pre><code>def myfunc():
    a = 4.2
    b = 5.5
    ... many similar variables ...
</code></pre>

<p>I use this function one time only and I am wondering what is the easiest way to make all the variables inside the function accessible to my main name-space. </p>

<p>Do I have to declare global for each item? or any other suggested methods?</p>

<p>Thanks.</p>
