python: 在txt文档开始位置插入数据
python: 在txt文档开始位置插入数据
python: 在txt文档开始位置插入数据
常见的在文章末尾追加数据很常见,在开头追加数据不常遇见
代码如下 代码片.
import os
path = r"C:\Users\lcx\Desktop\aclImdb\test\pos"
for fpathe, dirs, fs in os.walk(path):
for f in fs:
...
原创
2019-01-10 15:55:08 ·
2542 阅读 ·
0 评论