code: def get_func(fullFuncName):
      
  
      # Parse out the path, module, and function
      lastDot = fullFuncName.rfind(u".")
      funcName = fullFuncName[lastDot + 1:]
      modPath = fullFuncName[:lastDot]
  
      aMod = get_mod(modPath)
      aFunc = getattr(aMod, funcName)
  
      # Assert that the function is a *callable* attribute.
      assert callable(aFunc), u"%s is not callable." % fullFuncName
  
      # Return a reference to the function itself,
      # not the results of the function.
      return aFunc
docs: Retrieve a function object from a full dotted-package name.