code: def _find_and_load_module(self, name, path=None):
          
          bits = name.split('.')
          while len(bits) > 1:
              # Treat the first bit as a package
              packagename = bits.pop(0)
              package = self._find_and_load_module(packagename, path)
              try:
                  path = package.__path__
              except AttributeError:
                  # This could be e.g. moves.
                  flog.debug('Package {0} has no __path__.'.format(package))
                  if name in sys.modules:
                      return sys.modules[name]
                  flog.debug('What to do here?')
  
          name = bits[0]
          module_info = imp.find_module(name, path)
          return imp.load_module(name, *module_info)
docs: Finds and loads it. But if there's a . in the name, handles it
          properly.