摘要: import os import random import shutil def move_file(target_path, save_path, number): file_list = os.listdir(target_path) random.shuffle(file_list) fil 阅读全文
posted @ 2023-03-16 16:46 Wchime 阅读(90) 评论(0) 推荐(0)
摘要: import os import shutil def split_name(file): file_name, _ = file.split('.') return file_name def move_file(target_path, move_path, save_path): """ :p 阅读全文
posted @ 2023-03-16 16:33 Wchime 阅读(37) 评论(0) 推荐(0)