python txt转换csv 快速
Wyc
发布
于
2022-06-12 15:14:03
发布
于
2022-06-12 15:14:03
import csv
csvFile = open("/Users/wyc/work/geneSearch/server/search/datas_train.csv",'w',newline='',encoding='utf-8')
writer = csv.writer(csvFile)
csvRow = []
f = open("/Users/wyc/work/geneSearch/server/search/test-20220607.txt",'r')