import csv rows = zip(list1,list2,list3,list4,list5) with open(newfilePath, "w") as f: writer = csv.writer(f) for row in rows: writer.writerow(row)