code: def import_path(mod_path, mod_name):
      
      mod_code = open(mod_path).read()
  
      mod_obj = import_code(
          mod_code=mod_code,
          mod_name=mod_name,
      )
  
      if not hasattr(mod_obj, '__file__'):
          mod_obj.__file__ = mod_path
  
      return mod_obj
docs: Import a module by module file path.
  
      @param mod_path: module file path.
  
      @param mod_name: module name.