Module fixedlenfields for reading and splitting text files with fixed-length fields. It's inspired by module csv, implemented as iterator and I'm using it exactly like module csv. I've used Python 2.4.2 to develop it. Please consider it for inclusion into Python's standard lib. I'll grant copyright to Python Software Foundation. Ciao, Michael.
Modules submitted for stdlib inclusion should spend some time out in the wild first, attracting a userbase and proving their usefulness. I notice you've posted fixedlenfields to PyPI (http://cheeseshop.python.org/pypi/fixedlenfields/), but since its download URL points to this tracker item, I'm assuming you haven't updated it over the last 15+ months. If fixedlenfields has indeed built up a following over that time, you should do the following and submit a new patch: 1) Update the patch to work with Python 2.5+; it currently doesn't compile with Python 2.5 or 2.6. 2) Split the test suite out into a separate test file based on the unittest module. Thanks.