python讀寫文件數據:with讀、寫文件
1、with寫文件 save_file = "1.txt" str_data = "123a\nbc" with open(save_file, 'a', encoding="utf-8") ...
1、with寫文件 save_file = "1.txt" str_data = "123a\nbc" with open(save_file, 'a', encoding="utf-8") ...