Text Lines¶
The text layout reads and writes records as single lines of text using an interface
that looks like csv.
- class txf.layouts.text.LineReader(iterable, **config)¶
An
iteratorthat returns strings with the line separator removed.
- class txf.layouts.text.DictReader(iterable[, fieldnames=None[, **config]])¶
An
iteratorthat returns single lines.fieldnameswill be truncated to a single value. if it is not provided, thedefault_fieldnamesentry fromconfigwill be used.