title: Creating classes with a lot of imported functions here and there
body: <p>Let's say i have a lot of functions in <code>alotoffunc.py</code> that is used by more than 1 type of object. </p>
  
  <p>Let's say <code>ObjectI</code> and <code>ObjectII</code> and <code>ObjectXI</code> all uses some functions in <code>alotoffunc.py</code>. And each of the Object were using different set of functions but all the objects have the variable <code>object.table</code>.</p>
  
  <p><code>alotoffunc.py</code>:</p>
  
  <pre><code>def abc(obj, x):
    return obj.table(x) * 2
  
  def efg(obj, x):
    return obj.table(x) * obj.table(x)
  
  def hij(obj, x, y):
    return obj.table(x) * obj.table(y)
  
  def klm(obj, x, y):
    return obj.table(x) *2 - obj.table(y)
  </code></pre>
  
  <p>And then i import the functions and overload them:</p>
  
  <pre><code>import alotoffunc
  
  class ObjectI:
    def abc(self, x):
      return alotoffunc.abc(self, x)
  
    def efg(self, x):
      return alotoffunc.efg(self, x)
  
  class ObjectII:
    def efg(self, x):
      return alotoffunc.efg(self, x)
    def klm(self, x, y): 
      return alotoffunc.klm(self, x, y)
  
  class ObjectXI:
    def abc(self, x):
      return alotoffunc.abc(self, x)
    def klm(self, x, y):
      return alotoffunc.klm(self, x, y)
  </code></pre>
  
  <p>It looks a like a big mess now, how should I go about building my object class and arrange my <code>alotoffunc.py</code>? </p>