Parsing/Splitting Line
Neil Cerutti
horpner at yahoo.com
Tue Nov 21 08:01:39 EST 2006
On 2006-11-21, acatejr at gmail.com <acatejr at gmail.com> wrote:
> I have a text file and each line is a list of values. The
> values are not delimited, but every four characters is a value.
> How do I get python to split this kind of data? Thanks.
Check out _Text Processing in Python_, Chapter 2, "PROBLEM:
Column statistics for delimited or flat-record files".
URL:http://gnosis.cx/TPiP/
--
Neil Cerutti
More information about the Python-list
mailing list