Using the csv module: import csv with open('file.csv', newline='') as f: reader = csv.reader(f) data = list(reader) print(data). Output:
確定! 回上一頁