What library/package to use for parsing XML?
Rob Gaddi
rgaddi at highlandtechnology.invalid
Mon Jan 30 18:05:16 EST 2017
On 01/30/2017 02:14 PM, Juan C. wrote:
> On Mon, Jan 30, 2017 at 3:58 PM, Chris Green <cl at isbd.net> wrote:
>> I want to parse some XML data, it's the address book data from the
>> linux program osmo. The file I want to parse is like this:-
>
> Just like Irmen said, use the default xml.etree.ElementTree, it's
> amazing and very simple to use.
>
And if you get halfway into your project and find ElementTree was
insufficient, you can switch to lxml without changing practically
anything you've already written.
--
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order. See above to fix.
More information about the Python-list
mailing list