delete add replace conttent from csv by using python

Solutions on MaxInterview for delete add replace conttent from csv by using python by the best coders in the world

showing results for - "delete add replace conttent from csv by using python"
Lennard
18 Aug 2020
1import csv
2
3original = open("original.csv", 'r')
4original = ''.join([i for i in original]) \
5    .replace("C-F", "F-C") \
6    .replace("G-F", "F-G")
7x = open("edited.csv", "w")
8x.writelines(original)
9x.close()
10
11
12
13