Nuacht
This post explains how to write to a file in Python. You'll discover how to create word files (.docx), spreadsheets (.csv), text files, and more!
If the XML file is very large, check out the lxml website for how to use the target and feed interfaces--it's not as hard as you might think, and they work very efficiently.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana