- 博客(1)
- 收藏
- 关注
原创 python 写入文件后读取为空的问题
python 写入文件后读取为空的问题 写一个小程序的时候,用到了py的文件处理方法。但是当我在写入后,立马使用readlines方法读取,读取为空。 import os store_file = 'E:' old_content_path = store_file + "old.txt" new_content_path = store_file + "new.txt" copy_content...
2019-06-03 22:28:02 8577
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人