當檔案打開時,Python 還允許執行各種檔案操作,例如讀檔、寫檔和附加資訊。 ... file_1.read() 會讀取demo.txt 內的資料,並且儲存至read_content ...
確定! 回上一頁