Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> Python

Tạo XML từ Python Dictionary

Giống bài 1003106686: cài dicttoxml, dùng dicttoxml.dicttoxml(), pretty-print với xml.dom.minidom.parseString().toprettyxml().