Python·100 questionsHow to work with CSV?SaveUpdated: 2026-08-31Answer•import csv.•reader = csv.DictReader(f).•Use: csv.DictWriter(...).writeheader(); writer.writerow(...).•Specify newline='' when opening.•For encodings use encoding='utf-8'.Ask AI to clarifyWas this answer helpful?HelpfulNot helpfulSuggest an improvement