第 7~11 行: with 程式區塊是在第 7 行呼叫 open()函數開啟檔案,參數 newline=''是刪除每一列多餘的換行,第 8 行使用 csv.writer()方法寫入檔案,在第 9 行呼叫 ...
確定! 回上一頁