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.