持久化dict到yml文件. 使用yaml.safe_dump()函数. dump.py : import yaml d = { "kind": "Deployment", "spec": { "replicas": 1, ...
確定! 回上一頁