code: def import_source(module, path, pass_errors=False):
      
      try:
          m = imp.load_source(module, path)
          return m
      except Exception as e:
          return None
docs: Function imports a module given full path
  
      Args
      ----
      module (string): the module name
      path (string): the full path of module
      pass_errors(boolean): the switch for function
      to skip errors or not.
  
      Returns
      -------
      module (module): the module object.
  
      Raises
      ------
      e (Exception): any kind of exceptions during importing.