from csv import reader with open('students.csv', 'r') as read_obj: csv_reader = reader(read_obj) for row in csv_reader: print(row)
with open(csv_file, "r+") as input_file: for line in input_file: print(line)