式逐行讀取已開啟的檔案內容: >>> f = open('test.txt','r') >>> l = f. readlines() >>> print ... 如果您已經執行上述的指令並且在 test . txt 檔中已經有一些資料, ...
確定! 回上一頁