Categories
How to write a parsed XML file to txt, in Python?
Hello, please tell me how to write the parsed XML file in txt format?
Answer the question
In order to leave comments, you need to log in
with open('filename.txt', 'w') as fo: fo.write(your_xml)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question