Python 檔案處理. ... 創建檔案. f = file('myfile.txt','w') f.write('hello,baby!') f.close() w :寫(如菓已經存在,會將其覆蓋)
確定! 回上一頁