libconfig.Config.set_options_from_YAML

Config.set_options_from_YAML(filename)

Load options from a YAML-formated file.

Parameters:

filename (str) – File from which to load the options.

Raise:
IOError:If filename does not exist.