code: def import_file(name, path):
      
      spec = importlib.util.spec_from_file_location(name, path)
      mod = importlib.util.module_from_spec(spec)
      spec.loader.exec_module(mod)
      return mod
docs: Import a file given a raw file path.
  
      :param name: Name of module to be imported
      :type name: str
      :param path: Path to Python file
      :type path: str / Path