PyYAML 不保留这些。 使用PyYAML,您应该执行以下操作: import yaml def set_state(state): with open('my_file.yaml ...
確定! 回上一頁