[TIP] Getting covered lines using python-coverage

Ben Finney ben+python at benfinney.id.au
Sat Feb 20 20:38:06 PST 2016

"ThanhVu (Vu) Nguyen" <nguyenthanhvuh at gmail.com> writes:

> Yes I realize the xml file does include those information but I would have
> to parse it.

You do not need to parse it yourself; Python's standard library already
knows how to parse XML. In case you are not aware,

See also tutorials for how to easily process XML with Python

 \     “You say I took the name in vain / I don't even know the name / |
  `\    But if I did, well, really, what's it to you?” —Leonard Cohen, |
_o__)                                                     _Hallelujah_ |
Ben Finney

More information about the testing-in-python mailing list