要透過Python讀取CSV檔案,需要引入csv套件,並且開啟檔案建立reader物件,然後才可以使用for迴圈讀取資料。 ... import csvfile = open('data.csv')
確定! 回上一頁