somepeople

2020年7月12日

python文件实时修改文件并读取

摘要: import os src = 'stock_data.txt' dst = 'bak' with open('stock_data.txt','r',encoding='utf-8') as file_1 , open('bak','w',encoding='utf-8') as file_2: 阅读全文

posted @ 2020-07-12 16:41 Hello_Thanos 阅读(850) 评论(0) 推荐(0) 编辑

导航