python文件操做

r,r+,w,w+,a,a+表達的含義 w with open("addr.csv", 'w', encoding="utf-8") as f: header = "this is test for w" f.write(header) 執行結果: python r with open("addr.csv", 'r', encoding="utf-8") as f: con
相關文章
相關標籤/搜索