How to parse XML file and save results as .txt or .csv?

harirammanohar159 at harirammanohar159 at
Wed Aug 19 08:53:44 CEST 2015

On Tuesday, 18 August 2015 22:20:32 UTC+5:30, ryguy7272  wrote:
> I am trying to parse this XML file.
> I tried a bunch of things in R, and almost got it working, but it seems like there was some issue with the rows and columns being out of sync, or some such thing.  Can someone here share some Python code that will parse the XML file mentioned above, possibly clean up any garbage, and save the results as .txt or .csv?
> Thanks!!


you can use argparse or xml tree in python and you can save it any where in any format. its really work...... see the examples and try to figure out the code....

More information about the Python-list mailing list