[Tutor] Parse text with python
Danny Yoo
dyoo at hashcollision.org
Thu Oct 17 22:37:28 CEST 2013
Do you have other domain-specific information about this text? Concretely:
if you have another similar report, what parts will have to stay the same,
and what parts might change?
You want to make sure whatever you're using to anchor and search is based
on something stable. Otherwise, your program may be too fragile to changes
in the input, or worse, may be so general as to accidentally anchor to
something that just happens to look like the text you're search for, but in
the wrong place!
The more you know about the general shape of the thing you're processing,
the better chance you have to do a pattern matching that isn't too overly
generic or specific.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131017/07ff4dd9/attachment-0001.html>
More information about the Tutor
mailing list