例如,建立hello.txt 檔案(首先建立python/ch13 目錄),並輸入以下資料: ... <file>.read() # 讀取全部(或剩餘) 資料,結果為一個長字串<file>.readline() # 讀取下 ...
確定! 回上一頁