On Tuesday, 18 August 2015 22:20:32 UTC+5:30, ryguy7272  wrote:
> I am trying to parse this XML file.
> http://www.usda.gov/oce/commodity/wasde/report_format/latest-July-2015-New-Format.xml
> 
> 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!!

Hey,

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....
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to