Search This Blog

2023/10/01

Python:read csv file

 import csv

with open('giant.csv', mode ='r') as file:
csvFile = csv.reader(file)
for lines in csvFile:
print(lines)

No comments:

Post a Comment