cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit CSV file to append text at the begining

krupalibshah
Contributor

I have a requirement to be able to generate a CSV file which has “UTF-8” as the starting line and after that it will have headers and then data.

Has anyone done this before?

Expected output :

image

6 REPLIES 6

No actually as I have to write the csv file to a zip

seem like you need another python script to perform a prefix “UTF-8\n” to your document.