code: def parse_data_cfg(path):
      # Parses the data configuration file
      if not os.path.exists(path) and os.path.exists(
          "data" + os.sep + path
      ):  # add data/ prefix if omitted
          path = "data" + os.sep + path
  
      with open(path, "r") as f:
          lines = f.readlines()
  
      options = dict()
      for line in lines:
          line = line.strip()
          if line == "" or line.startswith("#"):
              continue
          key, val = line.split("=")
          options[key.strip()] = val.strip()
  
      return options
  
label_desc: Use image node_id 2 for calling a global function with example usage: parse_data_cfg(path) and returns: options