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