我們首先使用帶有 os.listdir() 函式的 for/in 迴圈來遍歷在 files 目錄中找到的每個檔案。然後我們使用 open() 函式以 read 模式開啟每個檔案,並在每個 ...
確定! 回上一頁