import csv · with open("cities.csv") as fh: · rows = [] · for row in csv.DictReader(fh): · rows.append(row) · # or, if you like:.
確定! 回上一頁