On Jun 22, 7:18 pm, felciano <[EMAIL PROTECTED]> wrote: > Hello -- > > Is there a convention, library or Pythonic idiom for performing > lightweight relational operations on flatfiles? I frequently find > myself writing code to do simple SQL-like operations between flat > files, such as appending columns from one file to another, linked > through a common id. For example, take a list of addresses and append > a 'district' field by looking up a congressional district from a > second file that maps zip codes to districts.
Have you looked at itools? http://www.ikaaro.org/itools#itools.csv HTH, Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list