07 行:以寫入模式、utf-8 編碼模式開啟 product.json 檔案並傳回 f 檔案物件。 08 行:使用 json 套件的 dump()函式將 listProudct 串列寫入 f檔案物件內,寫入時指定 ...
確定! 回上一頁