def ProcessZipCodeCSV(file_name): """Process zip code csv.""" csv_lines = zip_code_util.ReadCSV(file_name) merged_csv_lines = zip_code_util.MergeCSV(csv_lines) for tokens in merged_csv_lines: for entry in ReadZipCodeEntries(tokens[2], tokens[6], tokens[7], tokens[8]): entry.Output()
def ProcessJigyosyoCSV(file_name): """Process jigyosyo csv.""" for tokens in zip_code_util.ReadCSV(file_name): entry = ReadJigyosyoEntry(tokens[7], tokens[3], tokens[4], tokens[5], tokens[2]) entry.Output()