python
import csv
python
with open('data.csv', 'r') as file:
reader = csv.reader(file)
for row in reader:
pass
python
with open('data.csv', 'w') as file:
writer = csv.writer(file)
writer.writerow(['Name', 'Age', 'Email'])
writer.writerow(['John Doe', 30, 'john@example.com'])