Monday 8 February 2021

Practical No: 13: WAP in Python to read a CSV file.

 


'''

Practical No. 13: WAP in Python to read a CSV file.

'''

import csv

f=open("student.csv","r")

cr=csv.reader(f)


print("Content of CSV File: ")

for r in cr:

    print(r)

    

f.close()







No comments:

Post a Comment