2021-04-21
批量移动当前目录下所有子文件夹下的所有图片(自己用)
import os
import shutil
path='/home/student/liuran/project/File/data/Train/CP'
new_path='/home/student/liuran/project/File/data/Train/CP'
for root ,dirs,files in os.walk(path):
for i in range(len(files)):
if (files[i
原创
2021-04-21 19:56:27 ·
152 阅读 ·
0 评论