CSV Reading and Writing Streaming Data-Zerodha-KiteConnect-Python




import csv
r1=open('fill_18_10.csv','r').read()
with open('filew','w',newline='') as wr:
    wr1=csv.writer(wr,delimiter=',')
    wr1.writerow([r1])
with open('filew','r') as rd:
    rd1=csv.reader(rd)
    for row in rd1:
        print(row[0])