Write dictionary of lists to a CSV file,writer.writerows(zip(*[d[key] for key in keys]))