Let's say for a moment that I have the following module in python:
class Foo(object):
pass
def foofunc():
pass
foofunc()
Will foofunc() (I mean the last statement) ever be executed if I choose to import the module instead of executing it directly?