import yaml. dict_var = { a dictionary }. filename = “yml_file.yml” with open(filename, “w”) as f: …. output = yaml.dump(dict_var, ...
確定! 回上一頁