This is how i made my CSV file:
with open('Mail_Txt.csv', 'w', encoding='utf-8', newline='') as csvfile:
fieldnames= ['Sender', 'Subject', 'Snippet']
writer = csv.DictWriter(csvfile, fieldnames=fieldnames , delimiter=',')
for val in final_list:
writer.writerow(val)
I try many methods to print the Sender column of the CSV file. But I fail all the time. so, help me to print the first or 'Sender'
column of the CSV file