Ajouter à CSV Python
with open('document.csv','a') as fd:
fd.write(myCsvRow)
Hambo
with open('document.csv','a') as fd:
fd.write(myCsvRow)
import csv
fields=['first','second','third']
with open(r'name', 'a') as f:
writer = csv.writer(f)
writer.writerow(fields)
import csv
fields=['first','second','third']
with open(r'name', 'a') as f:
writer = csv.writer(f)
writer.writerow(fields)