摘要:
import os import zipfile import re import shutil def extract_zip_in_folder(folder_path): # 检查路径是否存在 if not os.path.exists(folder_path): print("路径不存在,请 阅读全文
摘要:
import os import openpyxl from openpyxl.utils.exceptions import InvalidFileException def rename_images(base_dir, excel_path): # 检查基础路径是否存在 if not os.p 阅读全文
摘要:
import os from PIL import Image import tqdm def delete_images_with_height_greater_than_width(folder_path): # 遍历文件夹 for root, dirs, files in os.walk(fo 阅读全文