code: def import_object_from_path(path, object):
      
      with open(path) as f:
          return import_object_from_string_code(f.read(), object)
docs: Used to import an object from an absolute path.
  
      This function takes an absolute path and imports it as a Python module.
      It then returns the object with name `object` from the imported module.
  
      Args:
          path (string): Absolute file path of .py file to import
  
          object (string): Name of object to extract from imported module