in main.py [0:0]
def load_excel_to_dict(): d = {} with open('redash_localization_words.csv', mode='r') as infile: reader = csv.reader(infile) for rows in reader: d[rows[0]] = rows[1] return d