使用CSV Writer 物件的writerow 方法,將每行的資料以List 的型態寫入檔案中. 以下程式會將上述3x3 的資料範例,寫入data.csv 的檔案: import csv with ...
確定! 回上一頁