When is this going to be executed in Python?
<p>Let's say for a moment that I have the following module in python:</p>

<pre><code>class Foo(object):
    pass

def foofunc():
    pass

foofunc()
</code></pre>

<p>Will <code>foofunc()</code> (I mean the last statement) ever be executed if I choose to <code>import</code> the module instead of executing it directly?</p>
