例如,建立hello.txt 檔案(首先建立python/ch13 目錄),並輸入以下資料: ... 'w':寫入(write) ... infile = open('hello.txt', 'r') # 以讀取模式開檔outfile ...
確定! 回上一頁