code: def load_module_from_path(module_name: str, path: str):
      """
      Loads a module from a given path
  
      Parameters
      ----------
      module_name: str
          Name to assign for the loaded module. Usable for importing after loading.
      path: str
          path to the file to be loaded
      """
      loader = imp_machinery.SourceFileLoader(module_name, path)
      spec = imp_util.spec_from_loader(loader.name, loader)
      module = imp_util.module_from_spec(spec)
      loader.exec_module(module)
      # Required in order to be able to import the module by name later.
      sys.modules[module_name] = module
      return module
  
file_path: metaflow/metaflow/R.py
imports: import os
  import sys
  from importlib import util, machinery
  from tempfile import NamedTemporaryFile
  from .util import to_bytes
label_desc: Use image node_id 11 for calling a global function with example usage: load_module_from_path(module_name, path) and returns: module