title: TypeError ( 'module' object is not callable )
body: <p>I have two Scripts. Script 1 is titled <strong>schemeDetails</strong>.The second script is a test script called <strong>temporaryFile</strong> that creates a schemeSetup object using the schemeSetup class which is within schemeDetails. Everything is hunky dory up to the point where I try to acess the method insertScheme which is within the schemeSetup Class.</p>
  
  <p>I have imported the schemeDetails script using the following:</p>
  
  <pre><code>import schemeDetails
  reload(schemeDetails)
  from schemeDetails import *
  </code></pre>
  
  <p>I can create the schemeDetails Object and access its attributes</p>
  
  <pre><code>d = schemeDetails.schemeSetup() -- fine
  print(d.scheme) -- fine
  d.insertScheme() -- throws error
  </code></pre>
  
  <p>but trying to call the insertScheme function throws an error</p>
  
  <p>I don't know why this is happening as the import statement looks above board to me. Any advice appreciated</p>
  
  <pre><code>from sikuli import *
  import os
  
  class schemeSetup(object):
      #Uses default values
      def __init__(
          self,
          scheme = "GM",
          cardNumber = "1234567A",
          month = "December",
          year = "2015",
          setSchemeAsDefault = True):
  
          #Provide default values for parameters
          self.scheme = scheme
          self.cardNumber = cardNumber
          self.month = month
          self.year = year
          self.setSchemeAsDefault = setSchemeAsDefault
          #schemeDetails is not a sub
          # class of patient. It is simply defined within the patient class 
          # - there is a huge difference. 
  
  #====================================================#        
          #schemeDetails Function
      def insertScheme(self):
          print("insertScheme Works")    
          #r = Regions()
          #r.description("Patient Maintenance", "schemeDetails")
          #myRegion = r.createRegion()
          #myRegion.highlight(1)  
  
          #click(myRegion.find(insertSchemeButton))
          #click(myRegion.find(blankSchemeEntry))
          #type(self.scheme + Key.ENTER + Key.ENTER)           
          #type(self.cardNumber + Key.ENTER)
          #type(self.month + Key.ENTER)
          #type(self.year + Key.ENTER)
          #type(" ")
          #unticks HT link, HT linking should be in a separate function
  
  #====================================================#           
          #schemeDetails Function
      def editScheme(self):
          print("editScheme Works")
  
  #====================================================#        
      def deleteScheme(self):
          pass
  #====================================================#  
  </code></pre>
  
  <p>It may be of importance that calling either of the bottom functions does not produce an error. If I put print("Hello") under editScheme, and call that method using s.editScheme the program compiles but I get no output. If I run print(s.editScheme) it returns None  </p>