from moduleName import *
<p>In a main *.py, the statement</p>

<pre><code>from myModule import a,b,c
</code></pre>

<p>imports the module 'myModule', and creates references in the current namespace to the given objects. Or in other words, you can now use a and b and c in your program. But you need to use, for example:</p>

<pre><code>print(myModule.a)
</code></pre>

<p>Now, I need to use the statement:</p>

<pre><code>from myModule import *
</code></pre>

<p>and I need to access, in my main *.py file, at the values of some variables declared in 'myModule', for example:</p>

<pre><code>print(a)
</code></pre>

<p>I tried to use globals() to declare global variables but then they are not imported in the current namespace.
Does anyone know hoe to solve this??
Thanks </p>