libconfig.Config.write_options_to_YAML

Config.write_options_to_YAML(filename)

Writes the options in YAML format to a file.

Parameters:filename (str) – Target file to write the options.