SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы
Метки: yaml python
import yaml with open('data.yaml', 'w') as outfile: yaml.dump(data, outfile)