Generation

generate functionWed, 16 Nov 2022

Read file from CSV

import csv def readCvsFile(filename): with open(filename, 'r') as csv_file: reader = csv.reader(csv_file) for row in reader: print(row) readCvsFile("data.csv")

Want to kickstart your project?Use the new AI Studio to create your code