What library/package to use for parsing XML?

Chris Green cl at isbd.net
Mon Jan 30 12:58:30 EST 2017

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:-

    <?xml version="1.0" encoding="utf-8"?>
          <first_name>Peter and Denise</first_name>
          <home_address>Some address</home_address>
          <home_postcode>AAA BBB</home_postcode>

I basically want to be able to extract the data and output in other
formats - e.g. write to a Sqlite3 database and/or CSV.

So what do I need to import (and probably install first) to do this?

Chris Green

More information about the Python-list mailing list