file = open('d:\\test.txt', 'wt'). file.write('這是寫入檔案的資料') # 把資料寫入檔案. file.close() # 關閉檔案. 檔案開啟模式是利用表1的控制字元來設定,稍後還 ...
確定! 回上一頁