title: Using methods defined in __init__.py within the module
body: <p>Suppose I have the following directory structure:</p>
  
  <pre><code>lib\
  --__init__.py
  --foo.py
  --bar.py
  </code></pre>
  
  <p>Inside foo and bar, there are seperate methods that both need the same method. For instance:</p>
  
  <p>foo:</p>
  
  <pre><code>def method1():
      win()
  </code></pre>
  
  <p>bar:</p>
  
  <pre><code>def method2(number):
      if number &lt; 0:
          lose()
      else:
          win()
  </code></pre>
  
  <p>__init__:</p>
  
  <pre><code>def win():
      print "You Win!"
  
  def lose():
      print "You Lose...."
  </code></pre>
  
  <p>Is there a way to use the win and lose methods within the <strong>init</strong>.py in the modules respective subfiles, or do I have to create another file within the folder and have foo and bar import that?</p>