示例#1
0
    def __init__(self, csv_file, format=Db.CsvFormatBackquote):
        self.checkClass(csv_file, OrigGeneric, str)
        
        # since the fieldnames are unknown
        # must check to see how many columns
        number_columns_ok, self.number_columns = \
            self.numberFields(csv_file, format.dialect)

        Original.__init__(self, csv_file, format)
示例#2
0
 def __init__(self, filename, format=Db.CsvFormatBackquote):
     self.checkClass(filename, OrigMint, str)
     Original.__init__(self, filename, format)