Trivial ThoughtsThoughts and discussion on programming projects using the Python language.Working With Fixed Record Length CSV Files- September 23, 2003 Working With Fixed Record Length CSV Files Yesterday I wrote about working with fixed record length files, and presented a class for making it easy. Today I'll extend that idea to handle records containing csv data. The new CSVRecordFile class inherits from the RecordFile class, overriding the read and write methods to add csv parsing and formatting. This allows you to read and write fixed length csv data records in random order. The StringCSVAdaptor class (presented earlier)..http://radio.weblogs.com/0124960/2003/09/23.html#a22 |