python read csv file convert dictionnary code example Example: how to create dictionary in python from csv input_file = csv.DictReader(open("coors.csv"))