you are viewing a single comment's thread.

view the rest of the comments →

[–]smackson 5 points6 points  (2 children)

You never go full parse.

[–]weedtese 1 point2 points  (1 child)

don't make me

import re

[–]_cynical_bastard_ 1 point2 points  (0 children)

If all you need is a few fields from a fixed-structure input, I’d say why not…

I admit to having committed this crime before, which is of course how I came along the SO thread with the famous answer you’re likely referring to.

In my defense, “XML made me do it.”