Answers for "script to insert new row in a csv file using python"

2

append record in csv

import csv   
fields=['first','second','third']
with open(r'name', 'a') as f:
    writer = csv.writer(f)
    writer.writerow(fields)
Posted by: Guest on April-30-2020

Code answers related to "script to insert new row in a csv file using python"

Python Answers by Framework

Browse Popular Code Answers by Language