import csv
import time
with open('C://Users//data//march.csv') as rf:
reader = csv.reader(rf)
with open('csv2.csv','wb') as wf:
writer = csv.writer(wf)
for row in reader:
#print(type(row))
sf1=row[9].split('/')
#print(sf1[0])
#time.sleep(0.1)
if str(sf1[0])=='***':
print(row)
str1 = str()
for i in row:
str1 = str1 + i+','
print(str1)
writer.writerow(str1)
print('**'*30)
添加回答
举报
0/150
提交
取消