python first csv row new row code example Example: append to csv python with open('document.csv','a') as fd: fd.write(myCsvRow)