I have a task which -- dare I say -- would be easy in <asbestos_undies> Perl </asbestos_undies> but would rather do in Python (our primary language at Novasys). I have a file with varying length records. All but the first record, that is; it's always 107 bytes long.
I intuit that you are dealing with EDI documents. If so, there have been some recent discussions (and code) here. This Google Groups search will probably help: http://groups-beta.google.com/groups?q=group:comp.lang.python+edi&start=0&scoring=d&
(http://tinyurl.com/6urby).
--
Benji York
Sr. Software Engineer
Zope Corporation
--
http://mail.python.org/mailman/listinfo/python-list