Legacy data parsing
Jeremy Jones
zanesdad at bellsouth.net
Fri Jul 8 15:02:15 EDT 2005
gov wrote:
>Hi,
>
>
>
<snip>
>If anyone could give me suggestions as to methods in sorting this type
>of data, it would be appreciated.
>
>
>
Maybe it's overkill, but I'd *highly* recommend David Mertz's excellent
book "Text Processing in Python": http://gnosis.cx/TPiP/ Don't know
what all you're needing to do, but that small snip smells like it needs
a state machine which this book has an excellent, simple one in (I
think) chapter 4.
Jeremy Jones
More information about the Python-list
mailing list