yaml.dump 函数接受一个Python对象并生成一个YAML文档。 >>> import yaml >>> emp_info = { 'name': 'Lex', ... 'department': 'SQA ...
確定! 回上一頁