You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
232 B
12 lines
232 B
6 months ago
|
import csv
|
||
|
import sys
|
||
|
|
||
|
results = []
|
||
|
|
||
|
with open("fixed.csv", "w") as out:
|
||
|
outcsv = csv.writer(out)
|
||
|
with open(sys.argv[1]) as f:
|
||
|
reader = csv.reader(f)
|
||
|
for row in reader:
|
||
|
outcsv.writerow(row[0:-1])
|