Passing variables between modules
<p>I'm wonder why this simple code doesn't work.</p>

<p>In main.py I have</p>

<pre><code>def foo():
    HTTPHelper.setHost("foo")
    host = HTTPHelper.host()
</code></pre>

<p>and in HTTPHelper.py:</p>

<pre><code>_host = None
def setHost(host):
    _host = host
def host():
    return _host
</code></pre>

<p>But when I step through foo() host becomes NoneType, even though I set it on the line before. Very confused...</p>
