How to initialize helper method?
<p>If I have two files helper.app and main.app, I want to be able to accomplish something like this.</p>

<p>helper.py</p>

<pre><code>def configurestuff(dblocationstring):
  # Stuff that sets name and location
  generic_connection_variable = connectto(dblocationstring)

def dostuff():
  # does stuff with the generic_connection_variable
</code></pre>

<p>In my main.py, I want to be able to do something like</p>

<pre><code>import helper
helper.configure("customlocationofdb")
helper.dostuff()
#or even
helper.generic_connection_variable.someApplicableMethod()
</code></pre>

<p>My goal is so that I can have a main.app that is able to use the "helper" passing variables to setup a connection and reuse that variable if possible within main.app after importing the helper. What is the best way to organize my code to accomplish this? (im not sure how to access generic_connection_variable in my main.py as it is in a function, or what the best way to do this is)</p>
